Downloads · 30 days
10
40% of all-time downloads
jr303/lexical-regressor-v2
lexical-regressor-v2 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 32 dimensions.
Downloads · 30 days
10
40% of all-time downloads
All-time downloads
25
Public
Parameters
111M
443 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors443 MB · 100%
From the Hugging Face model README
Ce modèle est basé sur CamemBERT, affiné pour effectuer de la régression lexicale sur 32 dimensions.
from model import LexicalRegressor
from transformers import CamembertTokenizer
import torch
tokenizer = CamembertTokenizer.from_pretrained("jr303/lexical-regressor-v2")
model = LexicalRegressor(output_dim=32)
model.load_state_dict(torch.load("pytorch_model.bin"))
model.eval()