Added support for SalamandraTA 7B Instruct ACT#11
Merged
xixianliao merged 3 commits intoprojecte-aina:mainfrom Aug 20, 2025
xixianliao:main
Merged
Added support for SalamandraTA 7B Instruct ACT#11xixianliao merged 3 commits intoprojecte-aina:mainfrom xixianliao:main
xixianliao merged 3 commits intoprojecte-aina:mainfrom
xixianliao:main
Conversation
jatserias
reviewed
Aug 20, 2025
jatserias
left a comment
There was a problem hiding this comment.
LGTM, consider moving the model to BSC-LT (private) for simplicity
|
you may need to fix unit test as ru is not expected |
Contributor
Author
The model is now on BSC-LT as a private repository.
"ru" added in |
jatserias
approved these changes
Aug 20, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds support for the salamandraTA-7b-instruct-ACT model, which follows the existing salamandra_instruct model type. The model has been fine-tuned on domain-specific data provided by the Agència Catalana de Turisme (ACT), and is currently private and accessible only to ACT clients. Usage is the same as for other models of type salamandra_instruct, and we will provide a separate user manual specifically for ACT users.
The small changes are:
ru) as a supported language.To run the model locally, it must first be downloaded and made available in a local
modelsdirectory. The Docker container can then be launched using:-docker run -p 8000:8000 \ -e HF_HUB_OFFLINE=True \ -v ./models:/app/models \ projecteaina/mt-api:latest \ --load MULTI-MULTI-salamandra_instruct_actSending a request to this model follows the same format as previous models. For example:
curl --location --request POST 'http://0.0.0.0:8000/api/v1/translate' --header 'Content-Type: application/json' --data-raw '{"src":"ca", "tgt":"es", "text":"c'\''Això és una prova."}'