Load with πŸ€— Transformers from_pretrained (modeling code, auto_map, card How to use)

#1
by ksopyla - opened
Meridian21 Lab org

Adds the modeling and configuration code (generated by scripts/export_hub_model.py from https://github.com/ksopyla/MrCogito at commit 2e6b9573c8fb), auto_map in config.json, generation_config.json and export_manifest.json, and the card's How to use with AutoModelForCausalLM.from_pretrained(..., trust_remote_code=True). Weights and tokenizer unchanged.

Meridian21 Lab org

Smoke test passed from refs/pr/1 with Transformers 4.57.6 and 5.23.0 (load with trust_remote_code, score one sentence, sample 20 tokens).

ksopyla changed pull request status to merged

Sign up or log in to comment