abideen / Heimer-kto-TinyLlama-1.1B

huggingface.co
Total runs: 19
24-hour runs: 0
7-day runs: -2
30-day runs: 4
Model's Last Updated: January 14 2024
text-generation

Introduction of Heimer-kto-TinyLlama-1.1B

Model Details of Heimer-kto-TinyLlama-1.1B

Heimer-kto-TinyLlama-1.1B

image/jpeg

WandB Experiment Tracking

Check out the experiment details in this report

image/png

🧩 KTO adaptation hyperparameters

LoRA:

r=8

lora_alpha=16

lora_dropout=0.05

bias="none"

task_type="CAUSAL_LM"

target_modules=['k_proj', 'gate_proj', 'v_proj', 'up_proj', 'q_proj', 'o_proj', 'down_proj']

Training arguments:

per_device_train_batch_size=2

gradient_accumulation_steps=4

gradient_checkpointing=True

learning_rate=5e-5

lr_scheduler_type="cosine"

max_steps=50

optim="paged_adamw_32bit"

warmup_steps=10

DPOTrainer:

beta=0.1

max_prompt_length=1024

max_length=1536

loss="kto_pairs"

💻 Usage

Here's a Colab notebook to run Heimer-TinyLLama-1.1B in 4-bit precision on a free T4 GPU.

!pip install -qU transformers accelerate

from transformers import AutoTokenizer
import transformers
import torch

model = "abideen/Heimer-dpo-TinyLlama-1.1B"
messages = [{"role": "user", "content": "Explain what is Data science."}]

tokenizer = AutoTokenizer.from_pretrained(model)
prompt = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
pipeline = transformers.pipeline(
    "text-generation",
    model=model,
    torch_dtype=torch.float16,
    device_map="auto",
)

outputs = pipeline(prompt, max_new_tokens=256, do_sample=True, temperature=0.7, top_k=50, top_p=0.95)
print(outputs[0]["generated_text"])

"What is Data Science? A data scientist is an individual who has a passion for data and knowledge of the technology that can be used to help make sense of data. Data scientists are often involved in the development of new software and software platforms, as well as analyzing and interpreting data. What are the Important components of Data Science?

  1. Data: The data is the most important component of a data science project. Data science is the application of data science to make sense of data. Data scientists usually work with data, but data scientists are not necessarily data scientists.
  2. Analysis: This is the process of taking data and turning it into something useful.
  3. Modeling: The use of machine learning and statistical techniques.
  4. Prediction: The prediction of a future event, such as the future market share of a product or the future population of an area.
  5. Visualization: Displaying the data in a graphical or interactive format.
  6. Statistics: The use of statistical analysis techniques. What are the Advantages of Data Science? Data science is the application of data science to make sense of data."

Runs of abideen Heimer-kto-TinyLlama-1.1B on huggingface.co

19
Total runs
0
24-hour runs
1
3-day runs
-2
7-day runs
4
30-day runs

More Information About Heimer-kto-TinyLlama-1.1B huggingface.co Model

More Heimer-kto-TinyLlama-1.1B license Visit here:

https://choosealicense.com/licenses/apache-2.0

Heimer-kto-TinyLlama-1.1B huggingface.co

Heimer-kto-TinyLlama-1.1B huggingface.co is an AI model on huggingface.co that provides Heimer-kto-TinyLlama-1.1B's model effect (), which can be used instantly with this abideen Heimer-kto-TinyLlama-1.1B model. huggingface.co supports a free trial of the Heimer-kto-TinyLlama-1.1B model, and also provides paid use of the Heimer-kto-TinyLlama-1.1B. Support call Heimer-kto-TinyLlama-1.1B model through api, including Node.js, Python, http.

Heimer-kto-TinyLlama-1.1B huggingface.co Url

https://huggingface.co/abideen/Heimer-kto-TinyLlama-1.1B

abideen Heimer-kto-TinyLlama-1.1B online free

Heimer-kto-TinyLlama-1.1B huggingface.co is an online trial and call api platform, which integrates Heimer-kto-TinyLlama-1.1B's modeling effects, including api services, and provides a free online trial of Heimer-kto-TinyLlama-1.1B, you can try Heimer-kto-TinyLlama-1.1B online for free by clicking the link below.

abideen Heimer-kto-TinyLlama-1.1B online free url in huggingface.co:

https://huggingface.co/abideen/Heimer-kto-TinyLlama-1.1B

Heimer-kto-TinyLlama-1.1B install

Heimer-kto-TinyLlama-1.1B is an open source model from GitHub that offers a free installation service, and any user can find Heimer-kto-TinyLlama-1.1B on GitHub to install. At the same time, huggingface.co provides the effect of Heimer-kto-TinyLlama-1.1B install, users can directly use Heimer-kto-TinyLlama-1.1B installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

Heimer-kto-TinyLlama-1.1B install url in huggingface.co:

https://huggingface.co/abideen/Heimer-kto-TinyLlama-1.1B

Url of Heimer-kto-TinyLlama-1.1B

Heimer-kto-TinyLlama-1.1B huggingface.co Url

Provider of Heimer-kto-TinyLlama-1.1B huggingface.co

abideen
ORGANIZATIONS

Other API from abideen

huggingface.co

Total runs: 76
Run Growth: 3
Growth Rate: 3.95%
Updated:March 17 2024
huggingface.co

Total runs: 23
Run Growth: 16
Growth Rate: 69.57%
Updated:April 15 2024
huggingface.co

Total runs: 22
Run Growth: 4
Growth Rate: 18.18%
Updated:January 11 2024
huggingface.co

Total runs: 17
Run Growth: 10
Growth Rate: 58.82%
Updated:February 22 2024
huggingface.co

Total runs: 5
Run Growth: 0
Growth Rate: 0.00%
Updated:January 07 2025
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:May 29 2025
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:December 21 2024
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:May 13 2025