Downloads · 30 days
15
0% of all-time downloads
sajaw/llama-2-7b-RandomGPT-5K-ar
llama-2-7b-RandomGPT-5K-ar is a question answering model from sajaw. Use it when the input is a question plus a passage. It is set up for transformers. The card lists the license as apache-2.0.
This model is an LoRA adapter file from finetuned Llama-2-7b-hf model. This is an experimental model.
Downloads · 30 days
15
0% of all-time downloads
All-time downloads
14.8K
Public
Repo size
27 GB
Likes
0
Public
Click a slice to open those files.
.bin13.5 GB · 100%
From the Hugging Face model README
This model is an LoRA adapter file from finetuned Llama-2-7b-hf model. This is an experimental model.
To run it, you need to:
Agree with Meta's agreements to download the Llama-2-13b-chat-hf model from here: https://huggingface.co/meta-llama/Llama-2-13b-chat-hf Clone this repository Clone the Alpaca-LoRA repository from here: https://github.com/tloen/alpaca-lora Use this command to run it: -python generate.py --load_8bit --base_model 'PATH_TO_YOUR_LOCAL_LLAMA_2_7B_CHAT_HF' --lora_weights 'PATH_TO_YOUR_LOCAL_FILE_OF_THIS_MODEL' You must agree with Meta/Llama-2's agreements to use this model.
Developed by: Saja Nakhleh
Model type: Question answering model
Language(s) (NLP): Arabic
Finetuned from model [optional]: llama-2-7b
This model performs well with hetrogenius data.
None
Use the code below to get started with the model.
from transformers import AutoConfig, AutoModel, AutoTokenizer config = AutoConfig.from_pretrained("sajaw/llama-2-7b-RandomGPT-5K-ar") model = AutoModel.from_pretrained("sajaw/llama-2-7b-RandomGPT-5K-ar") tokenizer = AutoTokenizer.from_pretrained("sajaw/llama-2-7b-RandomGPT-5K-ar")
Context, questions and answers are concatinated with the instructions in one "message" record
NA
We have used 250 samples from AraSquad as true samples to test the model
NA
F1-score, precision, recall
F1-score= 0.6818 precision= 0.6564 recall=0.7226
NA
Carbon emissions can be estimated using the Machine Learning Impact calculator presented in Lacoste et al. (2019).
NA
NA
NA
NA
BibTeX:
APA:
NA
NA
Saja Nakhleh