Comments (5)
Linking a comment here which explains the difficulty with BLEU:
#38 (comment)
For ROUGE Score, I used a TensorArray
for ngrams, which has a write
operation. Maybe, we can use the same here.
from keras-nlp.
If this issue is open, I would want to work on implementing the BLEU metric.
from keras-nlp.
Hello, @arcAman07! I'm currently working on this.
from keras-nlp.
Cool, wasn't aware of it 👍
from keras-nlp.
Rough Implementation: https://colab.research.google.com/drive/1uX5V98N1apnNHJTLQAecIz2H8yQfL5fK?usp=sharing
from keras-nlp.
Related Issues (20)
- Preset and doc for Mistral (multilingual) HOT 26
- Keras CI fails due to update of `tensorflow-hub` to 0.16.1
- Add Electra Weights to Kaggle Models HOT 1
- i installed keras-nlp in pycharm IDE , when in run HOT 8
- cannot import name 'CachedMultiHeadAttention' from partially initialized module 'keras_nlp.src.layers.modeling.cached_multi_head_attention' (most likely due to a circular import)
- Keras_NLP and Kaggle Hub: Are models allowed without weights in Kaggle Hub?
- Issue with `BytePairTokenizer`
- Broken link to "Understanding masking and padding" guide HOT 2
- Add CLIP tokenizer to Keras NLP HOT 1
- Mistral kills the process by taking too many RAM HOT 2
- Any guide how to use tools/gemma/run_gemma_xla.py? HOT 4
- Model weights contributions? HOT 5
- Question about Gemma tensor parallel sharding policy HOT 5
- Add `oov_token` Argument to `BytePairTokenizer` HOT 1
- Update ByteTokenizer to remove TensorFlow dependency HOT 1
- How to add a serialized model and weights of a keras model to keras-nlp? HOT 4
- ContrastiveSampler lacks a seed param, while the docstring states it has one HOT 1
- Gemma Model Storing and Loading after Fine tuning HOT 2
- Gemma discrepancies HOT 1
- Dropout is not called in the training regime in TransformerEncoder and others HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from keras-nlp.