rajcscw / nlp-gym Goto Github PK
View Code? Open in Web Editor NEWNLPGym - A toolkit to develop RL agents to solve NLP tasks.
License: MIT License
NLPGym - A toolkit to develop RL agents to solve NLP tasks.
License: MIT License
Are you asking pool request? I would like to help maintain the repo if you are open to it. I think this project is super cool and relevant to the research that I do. Making a generic Flair MultiLabelPool class would give access to all the sequence label datasets available in the flair repo.
File "/home/neeson/DistributedES-master/config.py", line 14, in __init__
env = QAEnv()
File "/home/neeson/anaconda3/envs/es/lib/python3.7/site-packages/nlp_gym/envs/question_answering/env.py", line 43, in __init__
observation_featurizer = InformedFeaturizer() if observation_featurizer is None else observation_featurizer
File "/home/neeson/anaconda3/envs/es/lib/python3.7/site-packages/nlp_gym/envs/question_answering/featurizer.py", line 12, in __init__
self.doc_embeddings = DocumentPoolEmbeddings([WordEmbeddings("en")])
File "/home/neeson/anaconda3/envs/es/lib/python3.7/site-packages/flair/embeddings/token.py", line 170, in __init__
cached_path(f"{hu_path}/en-fasttext-news-300d-1M.vectors.npy", cache_dir=cache_dir)
File "/home/neeson/anaconda3/envs/es/lib/python3.7/site-packages/flair/file_utils.py", line 91, in cached_path
return get_from_cache(url_or_filename, dataset_cache)
File "/home/neeson/anaconda3/envs/es/lib/python3.7/site-packages/flair/file_utils.py", line 220, in get_from_cache
f"HEAD request failed for url {url} with status code {response.status_code}."
OSError: HEAD request failed for url https://flair.informatik.hu-berlin.de/resources/embeddings/token/en-fasttext-news-300d-1M.vectors.npy with status code 503.
Excuse me, can you tell me why this happened?
Hi, I am trying install this package in Python 3.10 and it's throwing error.
running build_ext /bin/sh: 1: pkg-config: not found mkdir: cannot create directory ‘bundled’: File exists fatal: destination path 'sentencepiece' already exists and is not an empty directory. fatal: destination path 'sentencepiece' already exists and is not an empty directory. mkdir: cannot create directory ‘build’: File exists ./build_bundled.sh: 15: cmake: not found make: *** No targets specified and no makefile found. Stop. make: *** No rule to make target 'install'. Stop. env: ‘pkg-config’: No such file or directory Failed to find sentencepiece pkg-config
Please help me fix this. I don't want to downgrade my Python version.
How can i use multiprocess training? Can i use stable-baselines‘ multiprocessing interface?
And I also wonder training details to repeat the results of squence tagging. I run the script, and didn't get same good performance.
Thanks a lot.
Hi, this repository is currently listed in the gymnasium third party environments but we are cleaning the list up to only include maintained gymnasium-compatible repositories.
Would it be possible for it to be upgraded from gym to gymnasium? Gymnasium is the maintained version of openai gym and is compatible with current RL training libraries (rllib and tianshou have already migrated, and stable-baselines3 will soon).
For information about upgrading and compatibility, see migration guide and gym compatibility. The main difference is the API has switched to returning truncated
and terminated
, rather than done
, in order to give more information and mitigate edge case issues.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.