HY MT2 1.8B GGUF
by playmak3rco.huggingface.playmak3r/hy-mt2-1.8b-gguf
- Remote endpoint
- 1 tool
- APACHE-2.0
Tools
HY_MT2_1_8B_GGUF_runTranslate a short text segment to a target language using a Llama model. This function builds a simple prompt and sends it to the module-level `llm` instance to obtain a direct translation of the provided text. The returned value is the translated text string, without additional explanation. Returns: - str: Translated text (trimmed with `strip()`), ready for use., Notes and considerations:, - The `stop=[", "]` parameter is set to attempt to stop at the first, newline; for multi-line translations consider adjusting or removing `stop`., Example:, translated = run("It's on the house.", "Portuguese", temperature=0.2)
No tool matches.
As the server's own listing gives them. We never call a tool.