Downloads · 30 days
0
achandlr/Llama-3-8B-Instruct-BatchPromptQA
Llama-3-8B-Instruct-BatchPromptQA is a question answering model from achandlr. Use it when the input is a question plus a passage. It is set up for transformers. The card lists the license as mit.
This model is a fine-tuned version of Llama-3-8B-Instruct on the BatchPrompting dataset, which spans 13 diverse NLP tasks. The model has been fine-tuned to effectively perform batch prompting - answering multiple ques…
Downloads · 30 days
0
Access
Public
Updated May 18, 2024
Repo size
3.3 GB
Likes
0
Public
Click a slice to open those files.
.safetensors109 MB · 92%
From the Hugging Face model README
This model is a fine-tuned version of Llama-3-8B-Instruct on the BatchPrompting dataset, which spans 13 diverse NLP tasks. The model has been fine-tuned to effectively perform batch prompting - answering multiple questions concatenated into a single prompt in one inference pass.
This model is a fine-tuned version of Llama-3-8B-Instruct on the BatchPrompting dataset, which spans 13 diverse NLP tasks. The model has been fine-tuned to effectively perform batch prompting - answering multiple questions concatenated into a single prompt in one inference pass.
Use with transformers See the snippet below for usage with Transformers:
import transformers
import torch
model_id = "achandlr/Llama-3-8B-Instruct-BatchPromptQA"
# Load the model pipeline
pipeline = transformers.pipeline("text-generation", model=model_id)
# Generate text using the pipeline
generated_text = pipeline("Hey how are you doing today?")
print(generated_text)
The model can be used for efficient question-answering on a variety of NLP tasks by concatenating multiple questions into a single prompt. It demonstrates strong generalization to unseen tasks and maintains performance with larger batch sizes compared to the non-fine-tuned model.
The model should not be used for tasks that may cause harm or for generating factually incorrect or biased content. Caution should be exercised if using the model for high-stakes decision making.
The model may exhibit biases present in its pretraining data or the BatchPrompting dataset. It has not been extensively tested for fairness or potential misuse. Performance may degrade on out-of-distribution examples or tasks very dissimilar to the training data.
Users should be made aware of the model's potential limitations and biases. The model's outputs should be carefully monitored, especially when used for sensitive applications. More testing is needed to fully characterize its capabilities and shortcomings.
Use the code below to get started with the model.
[More Information Needed]
The model was fine-tuned on our BatchPrompting dataset consisting of 13 NLP tasks:
The model was fine-tuned using the LoRA method.
Forthcoming
[More Information Needed]
Testing Data, Factors & Metrics Evaluation was performed on tasks that were excluded from the training run. Key metrics included accuracy and BatchPrompt error rate (failure to answer a question or conform to the specified format). A table of our results is forthcoming.
Forthcoming
Forthcoming
<!-- This should link to a Dataset Card if possible. -->[More Information Needed]
Forthcoming
<!-- These are the evaluation metrics being used, ideally with a description of why. -->[More Information Needed]
Forthcoming [More Information Needed]
Forthcoming
Forthcoming
<!-- Relevant interpretability work for the model goes here -->[More Information Needed]
<!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700). ## Environmental Impact - **Hardware Type:** [More Information Needed] - **Hours used:** [More Information Needed] - **Cloud Provider:** [More Information Needed] - **Compute Region:** [More Information Needed] - **Carbon Emitted:** [More Information Needed] -->[More Information Needed]
[More Information Needed]
[More Information Needed]
[More Information Needed]
Forthcoming
<!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->BibTeX:
Forthcoming
APA:
[More Information Needed]
[More Information Needed]
[More Information Needed]
[More Information Needed]
[More Information Needed]