Downloads · 30 days
23
0% of all-time downloads
TwT-6/cr-model
cr-model is a text generation model from TwT-6. 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.
My model is a state-of-the-art language processing AI designed to understand and generate human-like text. It leverages deep learning algorithms to engage in a wide range of language tasks, providing users with inform…
Downloads · 30 days
23
0% of all-time downloads
All-time downloads
50.3K
Public
Parameters
14.2B
28.3 GB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors28.3 GB · 100%
From the Hugging Face model README
My model is a state-of-the-art language processing AI designed to understand and generate human-like text. It leverages deep learning algorithms to engage in a wide range of language tasks, providing users with information, recommendations, and even casual conversation. With a broad knowledge base and nuanced understanding of context, my capabilities enable me to assist with various inquiries and perform complex language-based tasks effectively.
How to use?
from transformers import AutoModelForCausalLM, AutoTokenizer
from transformers.generation import GenerationConfig
import torch
model = AutoModelForCausalLM.from_pretrained( 'TwT-6/cr-model', attn_implementation="flash_attention_2", trust_remote_code=True, torch_dtype=torch.bfloat16, device_map="auto").eval()
tokenizer = AutoTokenizer.from_pretrained('TwT-6/cr-model', trust_remote_code=True)
inputs = '你好'
inputs = f'<|omni_start|>### User:\n{inputs}\n\n### Assistant:\n'
inputs = tokenizer(inputs, return_tensors="pt").to('cuda')
output_ids = model.generate(**inputs)[0].cpu()
output = tokenizer.decode(output_ids[inputs.input_ids.shape[-1]:])
print(output)
Detailed results can be found here
| Metric | Value |
|---|---|
| Avg. | 68.09 |
| AI2 Reasoning Challenge (25-Shot) | 57.85 |
| HellaSwag (10-Shot) | 81.66 |
| MMLU (5-Shot) | 68.73 |
| TruthfulQA (0-shot) | 58.20 |
| Winogrande (5-shot) | 76.24 |
| GSM8k (5-shot) | 65.88 |