Downloads · 30 days
5
13% of all-time downloads
jr303/lexical-regressor-CNN-1
lexical-regressor-CNN-1 is a machine learning model from jr303. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
Ce modèle est basé sur CamemBERT, affiné pour effectuer de la régression lexicale sur 50 dimensions.
Downloads · 30 days
5
13% of all-time downloads
All-time downloads
40
Public
Repo size
446 MB
Likes
0
Public
Click a slice to open those files.
.bin445 MB · 100%
From the Hugging Face model README
Ce modèle est basé sur CamemBERT, affiné pour effectuer de la régression lexicale sur 50 dimensions.
## Exemple d'utilisation
```python
from model import LexicalRegressor
from transformers import CamembertTokenizer
import torch
tokenizer = CamembertTokenizer.from_pretrained("jr303/lexical-regressor-CNN-1")
model = LexicalRegressor(output_dim=50)
model.load_state_dict(torch.load("pytorch_model.bin", map_location="cpu"))
model.eval()
```