Downloads · 30 days
12
17% of all-time downloads
efromomr/llm-course-hw3-dora
llm-course-hw3-dora is a text generation model from efromomr. Use it when you need the model to write or continue text. It is set up for transformers.
OuteAI/Lite-Oute-1-300M-Instruct finetuned on cardiffnlp/tweeteval for sentiment-analysis task with custom DoRA.
Downloads · 30 days
12
17% of all-time downloads
All-time downloads
70
Public
Parameters
301M
1.2 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors1.2 GB · 100%
From the Hugging Face model README
OuteAI/Lite-Oute-1-300M-Instruct finetuned on cardiffnlp/tweet_eval for sentiment-analysis task with custom DoRA.
Use the code below to get started with the model.
model = AutoModelForCausalLM.from_pretrained(f"efromomr/llm-course-hw3-dora", device_map="auto")
tokenizer = AutoTokenizer.from_pretrained(f"efromomr/llm-course-hw3-dora")
tokenizer.pad_token = tokenizer.eos_token
tokenizer.padding_side = "left"
input_ids = tokenizer(text, return_tensors="pt").input_ids
output_ids = model.generate(input_ids, max_new_tokens=16)
generated_text = tokenizer.decode(output_ids[0][len(input_ids[0]) :], skip_special_tokens=True)
print(generated_text)
#positive
cardiffnlp/tweet_eval
F1: 0.51 on test set