Downloads · 30 days
4
17% of all-time downloads
jr303/lexical-regressor-special-tokens
lexical-regressor-special-tokens 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 48 dimensions.
Downloads · 30 days
4
17% of all-time downloads
All-time downloads
24
Public
Parameters
111M
444 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 48 dimensions.
from model import LexicalRegressor
from transformers import CamembertTokenizer
import torch
tokenizer = CamembertTokenizer.from_pretrained("jr303/lexical-regressor-special-tokens")
model = LexicalRegressor(output_dim=48)
model.load_state_dict(torch.load("pytorch_model.bin"))
model.eval()