Skip to content

Commit

Permalink
docs: interact
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulLerner committed Dec 16, 2024
1 parent 722cade commit f646e84
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,14 @@ filter `A-Za-z` only makes a significant difference for BLOOM which vocabulary i
Summing up, you can pass arguments like `python -m neott.viz.pvs bigscience/bloom-7b1 --alpha_filter=true --negatives=all_intra`
to only get the relevant metric for BLOOM, and `--alpha_filter=false` for Croissant and Llama.

# Interactive demo

Use `neott.interact` to interactively translate source terms/generate terms given a definition.

For example: `python -m neott.interact --config exp/interact.yaml` will apply our ICL method that combines Co-hyponyms and Derivation paradigms,
using FranceTerme as ICL set. You can change the parameters as for `neott.prompt`


# citation
If you use our code or data on Machine Translation, please cite:

Expand Down

0 comments on commit f646e84

Please sign in to comment.