Downloads · 30 days
12
25% of all-time downloads
silvercoder45/Mistral-7b-instruct-v0.2-summ-sft-e2m
Mistral-7b-instruct-v0.2-summ-sft-e2m is a text generation model from silvercoder45. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as cc-by-nc-4.0.
Description to load and test will be added soon. More details on training and data will be added aswell.
Downloads · 30 days
12
25% of all-time downloads
All-time downloads
48
Public
Parameters
7.2B
14.5 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors14.5 GB · 100%
From the Hugging Face model README
Description to load and test will be added soon. More details on training and data will be added aswell.
Use the following Python code to load the model:
import torch
from transformers import AutoModelForCausalLM, AutoTokenizer
TBD
To generate text, use the following Python code:
text = "Hi, my name is "
inputs = tokenizer(text, return_tensors="pt")
outputs = model.generate(**inputs, max_new_tokens=64)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))