Run this model with HF Jobs
Run tner/roberta-large-mit-restaurant on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/tner/roberta-large-mit-restaurant. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/tner/roberta-large-mit-restaurant on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use tner/roberta-large-mit-restaurant with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use tner/roberta-large-mit-restaurant with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="tner/roberta-large-mit-restaurant")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("tner/roberta-large-mit-restaurant") model = AutoModelForTokenClassification.from_pretrained("tner/roberta-large-mit-restaurant", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Librarian Bot: Add base_model information to model
#2
by librarian-bot - opened
4 unmodified lines5678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152534 unmodified lines- f1- precision- recallmodel-index:- name: tner/roberta-large-mit-restaurantresults:- task:name: Token Classificationtype: token-classificationdataset:name: tner/mit_restauranttype: tner/mit_restaurantargs: tner/mit_restaurantmetrics:- name: F1type: f1value: 0.8164676304211189- name: Precisiontype: precisionvalue: 0.8085901027077498- name: Recalltype: recallvalue: 0.8245001586797842- name: F1 (macro)type: f1_macrovalue: 0.8081522050756316- name: Precision (macro)type: precision_macrovalue: 0.7974927131040113- name: Recall (macro)type: recall_macrovalue: 0.8199029986502094- name: F1 (entity span)type: f1_entity_spanvalue: 0.8557510999371464- name: Precision (entity span)type: precision_entity_spanvalue: 0.8474945533769063- name: Recall (entity span)type: recall_entity_spanvalue: 0.8641701047286575pipeline_tag: token-classificationwidget:- text: "Jacob Collier is a Grammy awarded artist from England."example_title: "NER Example 1"---# tner/roberta-large-mit-restaurant4 unmodified lines5678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152534 unmodified lines- f1- precision- recallpipeline_tag: token-classificationwidget:- text: Jacob Collier is a Grammy awarded artist from England.example_title: NER Example 1base_model: roberta-largemodel-index:- name: tner/roberta-large-mit-restaurantresults:- task:type: token-classificationname: Token Classificationdataset:name: tner/mit_restauranttype: tner/mit_restaurantargs: tner/mit_restaurantmetrics:- type: f1value: 0.8164676304211189name: F1- type: precisionvalue: 0.8085901027077498name: Precision- type: recallvalue: 0.8245001586797842name: Recall- type: f1_macrovalue: 0.8081522050756316name: F1 (macro)- type: precision_macrovalue: 0.7974927131040113name: Precision (macro)- type: recall_macrovalue: 0.8199029986502094name: Recall (macro)- type: f1_entity_spanvalue: 0.8557510999371464name: F1 (entity span)- type: precision_entity_spanvalue: 0.8474945533769063name: Precision (entity span)- type: recall_entity_spanvalue: 0.8641701047286575name: Recall (entity span)---# tner/roberta-large-mit-restaurant
README.md+24-24