Instructions to use cds-jb/qwen3-8b-parallel-cot with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use cds-jb/qwen3-8b-parallel-cot with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("Qwen/Qwen3-8B") model = PeftModel.from_pretrained(base_model, "cds-jb/qwen3-8b-parallel-cot") - Notebooks
- Google Colab
- Kaggle
|
Download training_code/README.md from cds-jb/qwen3-8b-parallel-cot: direct link, hf CLI and curl.
- Browser
- Download file 968 Bytes
-
https://huggingface.co/cds-jb/qwen3-8b-parallel-cot/resolve/main/training_code/README.md
- Command line
-
hf download hf://cds-jb/qwen3-8b-parallel-cot/training_code/README.md
-
curl -L -o README.md https://huggingface.co/cds-jb/qwen3-8b-parallel-cot/resolve/main/training_code/README.md
968 Bytes
| # training_code — single-token-per-step latent-CoT organism | |
| - `latent_threads/single.py` — single-token Markov mask, the T-step in-graph forward with codebook | |
| feedback, readouts (one z_t per step; contrast latent_threads/markov.py). | |
| - `latent_threads/train_single.py` — trainer (answer CE + per-cell feedback CE, teacher-forcing | |
| anneal, mixed chain lengths for length generalisation, separable codebook init). | |
| - `latent_threads/eval_single_report.py` — causal load-bearing battery + length-generalisation curve. | |
| - `latent_threads/eval_single_cellpatch.py` — single-cell `c_i(t):=d` patch + CA-propagation check. | |
| - `latent_threads/plot_single_summary.py` — training curve (readout/state/curriculum vs TF anneal). | |
| - `latent_threads/tasks.py` — the diffuse coupled-CA task. Deps: abstract_cot/masking.py, | |
| model_organisms/envs/base.py. | |
| Retrain: `python -m latent_threads.train_single --config latent_threads/configs/single_k3m6.json --batch-id sg1`. | |