Downloads · 30 days
8
17% of all-time downloads
jr303/lexical-regressor-MLP-1
lexical-regressor-MLP-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
8
17% of all-time downloads
All-time downloads
46
Public
Parameters
111M
445 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors444 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.
from model import LexicalRegressor
from transformers import CamembertTokenizer
import torch
tokenizer = CamembertTokenizer.from_pretrained("jr303/lexical-regressor-MLP-1")
model = LexicalRegressor(output_dim=50)
model.load_state_dict(torch.load("pytorch_model.bin"))
model.eval()