Downloads · 30 days
7
9% of all-time downloads
the-acorn-ai/spiral-octothinker-3b-multi-step00384
spiral-octothinker-3b-multi-step00384 is a text generation model from the-acorn-ai. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as apache-2.0.
This model was trained using the SPIRAL (Self-Play Iterative Reinforcement learning for Adaptation and Learning) framework.
Downloads · 30 days
7
9% of all-time downloads
All-time downloads
79
Public
Parameters
3.2B
6.4 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors6.4 GB · 100%
From the Hugging Face model README
This model was trained using the SPIRAL (Self-Play Iterative Reinforcement learning for Adaptation and Learning) framework.
The model was trained with self-play on multiple environments:
{
"learning_rate": "1e-6",
"train_batch_size": 128,
"num_ppo_epochs": 2,
"temperature": 1.0,
"max_model_len": 16384,
"environments": [
"KuhnPoker-v1",
"TicTacToe-v0",
"SimpleNegotiation-v1"
],
"base_model": "OctoAI/OctoThinker-3B",
"framework": "SPIRAL"
}
from transformers import AutoTokenizer, AutoModelForCausalLM
import torch
tokenizer = AutoTokenizer.from_pretrained("the-acorn-ai/spiral-octothinker-3b-multi-step00384")
model = AutoModelForCausalLM.from_pretrained(
"the-acorn-ai/spiral-octothinker-3b-multi-step00384",
torch_dtype=torch.bfloat16,
device_map="auto"
)
# Generate text
inputs = tokenizer("Your prompt here", return_tensors="pt")
outputs = model.generate(**inputs, max_length=100)
response = tokenizer.decode(outputs[0], skip_special_tokens=True)
This model is licensed under the Apache License 2.0.