This is just a quantized version. Licence conditions are intended to be idential to original huggingface repo.
Original description
Open-Assistant Falcon 7B SFT OASST-TOP1 Model
This model is a fine-tuning of TII's
Falcon 7B
LLM.
It was trained with 11,123 top-1 (high-quality) demonstrations of the OASST data set (exported on June 2, 2023) with a batch size of 128 for 8 epochs with LIMA style dropout (p=0.2) and a context-length of 2048 tokens.
Two special tokens are used to mark the beginning of user and assistant turns:
<|prompter|>
and
<|assistant|>
. Each turn ends with a
<|endoftext|>
token.
Input prompt example:
<|prompter|>What is a meme, and what's the history behind this word?<|endoftext|><|assistant|>
The input ends with the
<|assistant|>
token to signal that the model should
start generating the assistant reply.
Sample Code
from transformers import AutoTokenizer
import transformers
import torch
model = "OpenAssistant/falcon-7b-sft-top1-696"
tokenizer = AutoTokenizer.from_pretrained(model)
pipeline = transformers.pipeline(
"text-generation",
model=model,
tokenizer=tokenizer,
torch_dtype=torch.bfloat16,
trust_remote_code=True,
device_map="auto",
)
input_text="<|prompter|>What is a meme, and what's the history behind this word?<|endoftext|><|assistant|>"
sequences = pipeline(
input_text,
max_length=500,
do_sample=True,
return_full_text=False,
top_k=10,
num_return_sequences=1,
eos_token_id=tokenizer.eos_token_id,
)
for seq in sequences:
print(f"Result: {seq['generated_text']}")
ct2fast-falcon-7b-sft-top1-696 huggingface.co is an AI model on huggingface.co that provides ct2fast-falcon-7b-sft-top1-696's model effect (), which can be used instantly with this michaelfeil ct2fast-falcon-7b-sft-top1-696 model. huggingface.co supports a free trial of the ct2fast-falcon-7b-sft-top1-696 model, and also provides paid use of the ct2fast-falcon-7b-sft-top1-696. Support call ct2fast-falcon-7b-sft-top1-696 model through api, including Node.js, Python, http.
ct2fast-falcon-7b-sft-top1-696 huggingface.co is an online trial and call api platform, which integrates ct2fast-falcon-7b-sft-top1-696's modeling effects, including api services, and provides a free online trial of ct2fast-falcon-7b-sft-top1-696, you can try ct2fast-falcon-7b-sft-top1-696 online for free by clicking the link below.
michaelfeil ct2fast-falcon-7b-sft-top1-696 online free url in huggingface.co:
ct2fast-falcon-7b-sft-top1-696 is an open source model from GitHub that offers a free installation service, and any user can find ct2fast-falcon-7b-sft-top1-696 on GitHub to install. At the same time, huggingface.co provides the effect of ct2fast-falcon-7b-sft-top1-696 install, users can directly use ct2fast-falcon-7b-sft-top1-696 installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
ct2fast-falcon-7b-sft-top1-696 install url in huggingface.co: