Git Product home page Git Product logo

bigtranslate's Issues

Translation prompts

Hi,

Thanks for contribution to LLM for MT. It seems that the paper/repo only shows the prompt for evaluation rather than translation. Is it possible to provide the prompts for translation for easier reproduction?

Cheers

supported languages

Hi,

I have a question about the paper. In your paper, you stated "LLaMA that covers only 20 languages" in the abstract. May I ask where you obtained this number? And what languages are these 20?

max tokens length

Have been using and I modified the max_new tokens to be 2048 but the text never gets outputted fully. What is the maximum tokens that can be generated? I seem to be stuck on like 1-2 sentences max.

How to download the translated data?

Hello, wanna ask 2 questions:

  1. the way using in this repo is using prefix instruct like user have to send 把这个翻译为英语:xxx, why not just try system prompt like chatgpt, this can be used in multi-turn translation, for instance: 请扮演一个中英互译的翻译官,用户输入英文你翻译为对应的中文,xxx

  2. Is there any place can download the translated data?

How to inference/translate on mutli-GPUs

Hi,

It's a great job, thanks for your contribution to LLM. I've try to use your model before&after the update [June 06,2023], and I wonder how to use mutli-GPUs when inference?

In the new "translate.sh" , there are "export CUDA_VISIBLE_DEVICES=" . I set the value '3,4' , but it still runs on the single GPU 3.

Training and data

Can the training code and data be released? Would like to see what is happening with numbers. It seems to lack the ability of translating sentences with numbers over 2020. Can you release the data?

推理不响应指令

我使用的prompt:
prompt1 = '''请将以下英语句子翻译成汉语:{}'''

prompt1 = '''请将以下句子翻译成汉语:{}'''

但模型没有输出,难受,不知道是哪里错了

7B model

Please release a 7B model, the 13B model on huggingface is not necessary and is an overkill for many simple use cases

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.