djamina/relatives_psr
Viewer • Updated • 546 • 9
How to use djamina/relatives_psr_seq-cbert_finetuned with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="djamina/relatives_psr_seq-cbert_finetuned") # Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("djamina/relatives_psr_seq-cbert_finetuned")
model = AutoModelForTokenClassification.from_pretrained("djamina/relatives_psr_seq-cbert_finetuned")# Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("djamina/relatives_psr_seq-cbert_finetuned")
model = AutoModelForTokenClassification.from_pretrained("djamina/relatives_psr_seq-cbert_finetuned")This model is a fine-tuned version of camembert/camembert-large on an unknown dataset. It achieves the following results on the evaluation set:
More information needed
More information needed
More information needed
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
|---|---|---|---|---|---|---|---|
| No log | 1.0 | 49 | 0.8241 | 0.9512 | 0.2 | 0.1722 | 0.7560 |
| No log | 2.0 | 98 | 0.8026 | 0.8243 | 0.2100 | 0.1933 | 0.7555 |
| No log | 3.0 | 147 | 0.7535 | 0.8077 | 0.2045 | 0.1823 | 0.7563 |
| No log | 4.0 | 196 | 0.7228 | 0.8227 | 0.2220 | 0.2109 | 0.7586 |
| No log | 5.0 | 245 | 0.7099 | 0.6914 | 0.2252 | 0.2193 | 0.7578 |
Base model
almanach/camembert-large
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="djamina/relatives_psr_seq-cbert_finetuned")