Downloads · 30 days
12
1% of all-time downloads
smjain/abap-nous-hermes
abap-nous-hermes is a text generation model from smjain. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as apache-2.0.
This model is fine tuned on a very small ABAP dataset . Have used NousResearch/Llama-2-7b-chat-hf as the base model.
Downloads · 30 days
12
1% of all-time downloads
All-time downloads
877
Public
Repo size
27 GB
Likes
1
Public
Click a slice to open those files.
.bin13.5 GB · 100%
From the Hugging Face model README
This model is fine tuned on a very small ABAP dataset . Have used NousResearch/Llama-2-7b-chat-hf as the base model.
Sample code
from transformers import pipeline from transformers import AutoModelForCausalLM, AutoTokenizer
model_path = "smjain/abap-nous-hermes"
model = AutoModelForCausalLM.from_pretrained(model_path)
tokenizer = AutoTokenizer.from_pretrained('NousResearch/llama-2-7b-chat-hf')
prompt = "Write a sample ABAP report" # change to your desired prompt
gen = pipeline('text-generation', model=model, tokenizer=tokenizer,max_new_tokens=256)
result = gen(prompt)
print(result[0]['generated_text'])