smjain/abap-nous-hermes

🤗 Hugging Face sourcetext-generationapache-2.027 GBother✓ 2 checksumsupdated today
Submit in one command

Run it next to your model folder. It makes the torrent, checks your files against Hugging Face, and submits it. You just start seeding and paste your key from your account. It only reads your files and never changes them. Read the script first if you like.

curl -fsSL https://pirateface.co/package.sh | bash -s -- --repo smjain/abap-nous-hermes ./model-folder
Needs a seeder →

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'])