Downloads · 30 days
0
0% of all-time downloads
Reverb/Mistral-7B-LoreWeaver
Mistral-7B-LoreWeaver is a text generation model from Reverb. Use it when you need the model to write or continue text. It is set up for peft. The card lists the license as mit.
Our finetuned Mistral LLM is a large language model specialized for natural language processing tasks, delivering enhanced performance for a wide array of applications, including text classification, question-answerin…
Downloads · 30 days
0
0% of all-time downloads
All-time downloads
25
Public
Parameters
7.2B
14.7 GB on disk
Likes
3
Public
Click a slice to open those files.
.safetensors14.5 GB · 100%
From the Hugging Face model README
Our finetuned Mistral LLM is a large language model specialized for natural language processing tasks, delivering enhanced performance for a wide array of applications, including text classification, question-answering, chatbot services, and more.
Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model.
Users can leverage the finetuned Mistral LLM for various NLP tasks right out-of-the-box. Simply interact with the API or load the model locally to experience superior language understanding and generation capabilities. Ideal for developers seeking rapid prototyping and deployment of conversational AI applications.
Integrate the finetuned Mistral LLM effortlessly into custom applications and pipelines. Utilize the model as a starting point for further refinement, targeting industry-specific lingo, niches, or particular use cases. Seamless compatibility ensures smooth collaboration with adjacent technologies and services.
Limitations exist concerning controversial topics, sensitive data, and scenarios demanding real-time responses. Users should exercise caution when deploying the model in safety-critical situations or regions with strict compliance regulations. Avoid sharing confidential or personally identifiable information with the model.
Address both technical and sociotechnical limitations.
Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. Further recommendations include cautious assessment of ethical implications, ongoing maintenance, periodic evaluations, and responsible reporting practices.
Use the code below to get started with the model.
import torch
from transformers import pipeline, AutoTokenizer
# Load the finetuned Mistral LLM
model_name = "Reverb/Mistral-7B-LoreWeaver"
tokenizer = AutoTokenizer.from_pretrained(model_name)
generator = pipeline("text-generation", model=model_name, tokenizer=tokenizer)
# Example usage
input_text = "Once upon a time,"
num_generated_tokens = 50
response = generator(input_text, max_length=num_generated_tokens, num_return_sequences=1)
print(f"Generated text:\n{response[0]['generated_text']}")
# Alternatively, for fine-grained control over the generation process
inputs = tokenizer(input_text, return_tensors="pt")
outputs = generator.generate(
inputs["input_ids"].to("cuda"),
max_length=num_generated_tokens,
num_beams=5,
early_stopping=True,
temperature=1.2,
)
generated_sentence = tokenizer.decode(outputs[0])
print(f"\nGenerated text with beam search and custom params:\n{generated_sentence}")
[More Information Needed]
[More Information Needed]
[More Information Needed]
[More Information Needed]
[More Information Needed]
[More Information Needed]
[More Information Needed]
[More Information Needed]
Carbon emissions can be estimated using the Machine Learning Impact calculator presented in Lacoste et al. (2019).
[More Information Needed]
[More Information Needed]
[More Information Needed]
[More Information Needed]
BibTeX:
[More Information Needed]
APA:
[More Information Needed]
[More Information Needed]
[More Information Needed]
[More Information Needed]
[More Information Needed]
Detailed results can be found here
| Metric | Value |
|---|---|
| Avg. | 60.93 |
| AI2 Reasoning Challenge (25-Shot) | 59.98 |
| HellaSwag (10-Shot) | 83.29 |
| MMLU (5-Shot) | 64.12 |
| TruthfulQA (0-shot) | 42.15 |
| Winogrande (5-shot) | 78.37 |
| GSM8k (5-shot) | 37.68 |