Instructions to use RESMP-DEV/LFM2.5-Encoder-230M-Code-BF16 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use RESMP-DEV/LFM2.5-Encoder-230M-Code-BF16 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="RESMP-DEV/LFM2.5-Encoder-230M-Code-BF16", trust_remote_code=True)# Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("RESMP-DEV/LFM2.5-Encoder-230M-Code-BF16", trust_remote_code=True) model = AutoModel.from_pretrained("RESMP-DEV/LFM2.5-Encoder-230M-Code-BF16", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
| { | |
| "artifact": "LFM2.5-Encoder-230M-Code-BF16", | |
| "files": { | |
| "1_Pooling/config.json": { | |
| "bytes": 298, | |
| "sha256": "39843b49282a69b60b0ce46529f6cb744d2905b2ab9baf3e244251dc0c61fb80" | |
| }, | |
| "LICENSE": { | |
| "bytes": 10574, | |
| "sha256": "4d28ca14dedc0b3d0fcc2b3339f0e79931faa33874f3d24f522183a8fc70068c" | |
| }, | |
| "MODIFICATIONS.md": { | |
| "bytes": 369, | |
| "sha256": "0e920ae71b97a4e96633c212099b9df56f3fba4de2535d13f51a8dbf4595cf0a" | |
| }, | |
| "README.md": { | |
| "bytes": 5010, | |
| "sha256": "1ec64135a153ff681a4a809351d0819f695f5e2a05cee4b0a311b25a4d742452" | |
| }, | |
| "benchmarks/jina-code-calibrated-4k.json": { | |
| "bytes": 5151, | |
| "sha256": "decef25c22fdf3ff1d2c735cb93dff31dc672543c0c76e1ae601d0c5fbd35a05" | |
| }, | |
| "benchmarks/lfm25-230m-bf16-4k.json": { | |
| "bytes": 5034, | |
| "sha256": "400d3bb6a4bcae6c04dcb754917bd7b4e052b6a325ef1fd7f2c52a5e3115675b" | |
| }, | |
| "benchmarks/lfm25-230m-bf16-cuda-4k.json": { | |
| "bytes": 5155, | |
| "sha256": "301612ba884bb0f95aa4f0a1776f1808a4806ed830eacb6ee9507df19bc62a9b" | |
| }, | |
| "benchmarks/lfm25-230m-gptq-mxfp4-4k.json": { | |
| "bytes": 5512, | |
| "sha256": "0ea4e41d460da34900a65313eb1333a02a0d61fc2f408a69964d7e1e9d028a45" | |
| }, | |
| "benchmarks/lfm25-230m-gptq-mxfp8-4k.json": { | |
| "bytes": 5561, | |
| "sha256": "d62f44c1a8514dccf749630b9b4ba2da240588c2eae6af93b1816003a29e025d" | |
| }, | |
| "benchmarks/lfm25-230m-gptq-mxfp8-vs-bf16-bootstrap.json": { | |
| "bytes": 669, | |
| "sha256": "41792201ed7898ff2e2cc361316e959f6d11f0c664e0a4ca12bb219a6a19387a" | |
| }, | |
| "benchmarks/lfm25-230m-rtn-mxfp4-4k.json": { | |
| "bytes": 5588, | |
| "sha256": "c1156e3d9e081b56e9122072990a22cdbb2aa44962c08d095d2da0cc89506e6b" | |
| }, | |
| "benchmarks/lfm25-230m-rtn-mxfp8-4k.json": { | |
| "bytes": 5508, | |
| "sha256": "87e07135f50b78c9f6be27d5d64ddae6b284264207e38434a8b288ee6b45f83a" | |
| }, | |
| "benchmarks/nomic-v1.5-4k.json": { | |
| "bytes": 5137, | |
| "sha256": "2d2a2c94653185c43ed49698cd0ac01fbaf155bd506fc14a4865cdfb2376803d" | |
| }, | |
| "chat_template.jinja": { | |
| "bytes": 2553, | |
| "sha256": "013eed60546434b6967e3483153d8c5c37abcb1d667f8b1f914683f2a9411531" | |
| }, | |
| "config.json": { | |
| "bytes": 1451, | |
| "sha256": "e99d303e62a9ce333881897a68be7d9806c5a50b1acec4a71687f118f478ba6b" | |
| }, | |
| "corpus_receipt.json": { | |
| "bytes": 3603, | |
| "sha256": "df09633105fa5c5e185e6b1edf0833d717f1a9f447ac8bfb59096ff5fca9e830" | |
| }, | |
| "embedding_config.json": { | |
| "bytes": 144, | |
| "sha256": "0dca688cc9361b756defad37abe42878dcfddfe3eefc5be81e38f4e4d0d320b9" | |
| }, | |
| "model.safetensors": { | |
| "bytes": 459400320, | |
| "sha256": "993c5ccf3c2d4153d748e4738dba907b393bf521eb086601b87adcac75b46b87" | |
| }, | |
| "modeling_lfm2_bidirectional.py": { | |
| "bytes": 7093, | |
| "sha256": "f171f518be2a07da48b17fdea5655cad0a2452ab548e90e8ae903143686647e2" | |
| }, | |
| "modules.json": { | |
| "bytes": 230, | |
| "sha256": "0580fad756940809b1bc064ce1e7c1275c8b0dd80869562fe0abeb6f7059cb97" | |
| }, | |
| "source_receipt.json": { | |
| "bytes": 5585, | |
| "sha256": "0da314cd3a3f7b83aa59511ece0b91869955e45f8a33f579670845dc0ea14371" | |
| }, | |
| "tokenizer.json": { | |
| "bytes": 4733626, | |
| "sha256": "266c9cd45ef2e588c298bc9d63d2fed769aa8e733eebedc7431e247354e41e39" | |
| }, | |
| "tokenizer_config.json": { | |
| "bytes": 334, | |
| "sha256": "329ecab66a644be3996013ff4782a293c773f2738bef01851d3d78a01be75a4d" | |
| }, | |
| "training_report.json": { | |
| "bytes": 2290, | |
| "sha256": "a6253b4cea2107b2c300c8fd020d122f275745c6be15bd099f9c77101ee62d2d" | |
| } | |
| }, | |
| "schema_version": 1, | |
| "total_bytes": 464216795 | |
| } | |