Sp1786/multiclass-sentiment-analysis-dataset
Viewer โข Updated โข 41.6k โข 952 โข 33
Run MLap/bloom1.7-lora-sentiment-analysis-classification 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:
Use HF Jobs to fine-tune https://huggingface.co/MLap/bloom1.7-lora-sentiment-analysis-classification. 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.
Use HF Jobs to run batch inference with https://huggingface.co/MLap/bloom1.7-lora-sentiment-analysis-classification 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.
How to use MLap/bloom1.7-lora-sentiment-analysis-classification with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="MLap/bloom1.7-lora-sentiment-analysis-classification") # pip install -U transformers accelerate
# Load model directly
from transformers import AutoModel
model = AutoModel.from_pretrained("MLap/bloom1.7-lora-sentiment-analysis-classification", device_map="auto")For Sentiment Analysis Classification with 3 class - 0 - negative, 1 - neutral, 2 - positive.
Sentiment Analysis Classification
Sp1786/multiclass-sentiment-analysis-dataset
[More Information Needed]
LoRA with rank 8.
per_device_train_batch_size=4,
per_device_eval_batch_size=4,
gradient_accumulation_steps=4,
eval_strategy="steps",
eval_steps=200,
logging_steps=100,
num_train_epochs=2,
learning_rate=2e-4,
fp16=True,
save_steps=500,
save_total_limit=2,
Base model
bigscience/bloom