vagrawal787/todo_task_list_types
Viewer • Updated • 300 • 159 • 6
How to use vagrawal787/todos_task_model with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="vagrawal787/todos_task_model") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("vagrawal787/todos_task_model")
model = AutoModelForSequenceClassification.from_pretrained("vagrawal787/todos_task_model")# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("vagrawal787/todos_task_model")
model = AutoModelForSequenceClassification.from_pretrained("vagrawal787/todos_task_model")This model is a fine-tuned version of distilbert-base-uncased on the vagrawal787/todo_task_list_types dataset. It achieves the following results on the evaluation set:
Input: Text string of a todo-like task such as "get groceries" Output: A type label for what type of task it is (home, personal, work, emergency, etc.)
More information needed
The dataset used is provided in the card.
The following hyperparameters were used during training:
Base model
distilbert/distilbert-base-uncased
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="vagrawal787/todos_task_model")