Instructions to use pzarzycki/hrm-text-1b-code-tools-sft with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Keras
How to use pzarzycki/hrm-text-1b-code-tools-sft with Keras:
# Available backend options are: "jax", "torch", "tensorflow". import os os.environ["KERAS_BACKEND"] = "jax" import keras model = keras.saving.load_model("hf://pzarzycki/hrm-text-1b-code-tools-sft") - KerasHub
How to use pzarzycki/hrm-text-1b-code-tools-sft with KerasHub:
import keras_hub # Create a Backbone model unspecialized for any task backbone = keras_hub.models.Backbone.from_preset("hf://pzarzycki/hrm-text-1b-code-tools-sft") - Keras
How to use pzarzycki/hrm-text-1b-code-tools-sft with Keras:
# Available backend options are: "jax", "torch", "tensorflow". import os os.environ["KERAS_BACKEND"] = "jax" import keras model = keras.saving.load_model("hf://pzarzycki/hrm-text-1b-code-tools-sft") - Notebooks
- Google Colab
- Kaggle
| { | |
| "module": "keras_hub.src.models.hrm_text.hrm_text_causal_lm_preprocessor", | |
| "class_name": "HrmTextCausalLMPreprocessor", | |
| "config": { | |
| "name": "hrm_text_causal_lm_preprocessor", | |
| "trainable": true, | |
| "dtype": { | |
| "module": "keras", | |
| "class_name": "DTypePolicy", | |
| "config": { | |
| "name": "float32" | |
| }, | |
| "registered_name": null | |
| }, | |
| "tokenizer": { | |
| "module": "keras_hub.src.models.hrm_text.hrm_text_tokenizer", | |
| "class_name": "HrmTextTokenizer", | |
| "config": { | |
| "name": "hrm_text_tokenizer", | |
| "trainable": true, | |
| "dtype": { | |
| "module": "keras", | |
| "class_name": "DTypePolicy", | |
| "config": { | |
| "name": "int32" | |
| }, | |
| "registered_name": null | |
| }, | |
| "config_file": "tokenizer.json", | |
| "sequence_length": null, | |
| "add_prefix_space": false, | |
| "unsplittable_tokens": [ | |
| "<|im_end|>", | |
| "<|quad_end|>", | |
| "<|object_ref_end|>", | |
| "<|object_ref_start|>", | |
| "<|box_end|>", | |
| "<|endoftext|>", | |
| "<|im_start|>", | |
| "<|quad_start|>" | |
| ] | |
| }, | |
| "registered_name": "keras_hub>HrmTextTokenizer" | |
| }, | |
| "config_file": "preprocessor.json", | |
| "sequence_length": 4096, | |
| "add_start_token": true, | |
| "add_end_token": true | |
| }, | |
| "registered_name": "keras_hub>HrmTextCausalLMPreprocessor" | |
| } |