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
File size: 1,746 Bytes
ab083a7 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 | {
"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"
} |