Text Generation
PEFT
Safetensors
qlora
stiefel-manifold
continuous-reasoning
float32-precision
cag-truth-gate
pmtp-zero-token
polydim-einsof
conversational
Run this model with HF Jobs
Run Polydim-Einsof/einsof2-glm4-9b-stiefel-adapter on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/Polydim-Einsof/einsof2-glm4-9b-stiefel-adapter. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/Polydim-Einsof/einsof2-glm4-9b-stiefel-adapter on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Evaluate on a benchmark
Use HF Jobs to evaluate https://huggingface.co/Polydim-Einsof/einsof2-glm4-9b-stiefel-adapter. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.
Quantize for lower memory use
Use HF Jobs to create a 4-bit version of https://huggingface.co/Polydim-Einsof/einsof2-glm4-9b-stiefel-adapter. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.
Instructions to use Polydim-Einsof/einsof2-glm4-9b-stiefel-adapter with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use Polydim-Einsof/einsof2-glm4-9b-stiefel-adapter with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("THUDM/glm-4-9b-chat") model = PeftModel.from_pretrained(base_model, "Polydim-Einsof/einsof2-glm4-9b-stiefel-adapter") - Notebooks
- Google Colab
- Kaggle
feat(qlora-2027): integrate qlora_2027_core package, float32 retracted weights, honest README and delete legacy scripts [Exit Code 0]
fec028f verified Download qlora_2027_audit.json from Polydim-Einsof/einsof2-glm4-9b-stiefel-adapter: direct link, hf CLI and curl.
- Browser
- Download file 1.09 kB
-
https://huggingface.co/Polydim-Einsof/einsof2-glm4-9b-stiefel-adapter/resolve/main/qlora_2027_audit.json
- Command line
-
hf download hf://Polydim-Einsof/einsof2-glm4-9b-stiefel-adapter/qlora_2027_audit.json
-
curl -L -o qlora_2027_audit.json https://huggingface.co/Polydim-Einsof/einsof2-glm4-9b-stiefel-adapter/resolve/main/qlora_2027_audit.json
1.09 kB
| { | |
| "slug": "glm4-9b-stiefel", | |
| "repo_id": "Polydim-Einsof/einsof2-glm4-9b-stiefel-adapter", | |
| "family": "glm4", | |
| "base_model": "THUDM/glm-4-9b-chat", | |
| "weights_path": "E:\\Polydim_2027_core\\Qlora\\adapters\\glm4-9b-stiefel\\adapter_model.safetensors", | |
| "total_tensors": 320, | |
| "lora_b_tensors": 160, | |
| "saved_dtype": "float32", | |
| "before_retraction": { | |
| "dtypes": [ | |
| "torch.bfloat16" | |
| ], | |
| "mean_stiefel_defect": 0.0006377253520173336, | |
| "max_stiefel_defect": 0.003348741201084896 | |
| }, | |
| "after_retraction": { | |
| "dtypes": [ | |
| "torch.float32" | |
| ], | |
| "max_stiefel_defect_fp64": 7.771561172376096e-16, | |
| "mean_stiefel_defect_fp64": 3.7331249203020887e-16, | |
| "max_stiefel_defect_fp32": 3.7267727488811036e-08, | |
| "mean_stiefel_defect_fp32": 9.113424396330961e-09, | |
| "max_frob_energy_drift": 9.992063844354152e-16 | |
| }, | |
| "certified_bounds": { | |
| "fp64_horner_defect_bound": "<= 1.0e-15", | |
| "fp32_storage_defect_bound": "<= 1.0e-5", | |
| "frob_energy_drift_bound": "<= 1.0e-3 (0.1%)", | |
| "status": "CERTIFIED_EXIT_CODE_0" | |
| } | |
| } |