Downloads · 30 days
21
33% of all-time downloads
EthanGao123/CellHermes-CoT-RL
CellHermes-CoT-RL is a text generation model from EthanGao123. Use it when you need the model to write or continue text. It is set up for peft. The card lists the license as llama3.1.
This repository contains the reinforcement-learning LoRA adapter used for the CellHermes-CoT-RL row in the TCR reactivity benchmark.
Downloads · 30 days
21
33% of all-time downloads
All-time downloads
64
Public
Repo size
168 MB
Likes
0
Public
Click a slice to open those files.
.safetensors168 MB · 100%
From the Hugging Face model README
This repository contains the reinforcement-learning LoRA adapter used for the CellHermes-CoT-RL row in the TCR reactivity benchmark.
This repository is not a standalone merged model checkpoint. It contains only a PEFT LoRA adapter:
adapter_config.jsonadapter_model.safetensorsThese two files are sufficient for distributing and loading the RL LoRA adapter with PEFT-compatible tooling, but they are not sufficient to run inference by themselves.
To reproduce the benchmark setup, load this adapter on top of the merged CellHermes-CoT-SFT checkpoint. The merged SFT checkpoint provides the base model weights, tokenizer, chat template, and SFT reasoning format; this repository provides only the post-SFT RL policy update.
This adapter must be loaded on the merged SFT checkpoint generated from EthanGao123/CellHermes-CoT-SFT and the same CellHermes-v1.0 base model.
It should not be loaded directly on the original CellHermes-v1.0 base model.
adapter_config.json, adapter_model.safetensorsq_proj, k_proj, v_proj, o_proj, gate_proj, up_proj, down_projCellHermes-CoT-RLFor the plotted benchmark, vLLM inference used:
model: the merged CellHermes-CoT-SFT checkpointlora: this repositoryThe SFT merged base provides the tokenizer, chat template, and SFT reasoning format. This RL LoRA adapter provides the post-SFT policy update.
Example PEFT-style loading pattern:
from transformers import AutoModelForCausalLM, AutoTokenizer
from peft import PeftModel
sft_merged_base = "path_or_repo_to_merged_CellHermes-CoT-SFT"
rl_adapter = "EthanGao123/CellHermes-CoT-RL"
tokenizer = AutoTokenizer.from_pretrained(sft_merged_base)
base_model = AutoModelForCausalLM.from_pretrained(sft_merged_base)
model = PeftModel.from_pretrained(base_model, rl_adapter)
chat_template.jinja from the SFT merged base checkpoint.CellHermes-v1.0, raw Meta-Llama, or another SFT checkpoint unless intentionally rerunning a different experiment.CellHermes-CoT-RL were generated from the SFT merged base plus this RL LoRA adapter.