EchoScript / services

Commit History

What changed:
ae768cc

usertea commited on

EchoScript : made it automatic, not exclusive: TranslationService picks anthropic when ANTHROPIC_API_KEY is set, otherwise falls back to marian (fully offline/free) - overridable via ECHOSCRIPT_TRANSLATION_BACKEND=anthropic|marian. So EchoScript still works with zero API key, but gets better translation quality and zero missing-pair errors the moment you set one.
7f4c279

usertea commited on

EchoScript : services\translation.py , Fix: services/translation.py now loads MarianMT directly via AutoModelForSeq2SeqLM + AutoTokenizer and calls model.generate() itself, bypassing the removed pipeline() task wrapper entirely. This is the path the official MarianMT docs use now too, so it's not a workaround you'll need to revisit on the next transformers release.
0f04f89

usertea commited on

EchoScript : New Architecture
7d761b6

usertea commited on