1. 16 Jun, 2020 3 commits
    • Yacine Jernite's avatar
      Eli5 examples (#4968) · 49c52025
      Yacine Jernite authored
      
      
      * add eli5 examples
      
      * add dense query script
      
      * query_di
      
      * merging
      
      * merging
      
      * add_utils
      
      * adds nearest neighbor wikipedia
      
      * batch queries
      
      * training_retriever
      
      * new notebooks
      
      * moved retriever traiing script
      
      * finished wiki40b
      
      * max_len_fix
      
      * train_s2s
      
      * retriever_batch_checkpointing
      
      * cleanup
      
      * merge
      
      * dim_fix
      
      * fix_indexer
      
      * fix_wiki40b_snippets
      
      * fix_embed_for_r
      
      * fp32 index
      
      * fix_sparse_q
      
      * joint_training
      
      * remove obsolete datasets
      
      * add_passage_nn_results
      
      * add_passage_nn_results
      
      * add_batch_nn
      
      * add_batch_nn
      
      * add_data_scripts
      
      * notebook
      
      * notebook
      
      * notebook
      
      * fix_multi_gpu
      
      * add_app
      
      * full_caching
      
      * full_caching
      
      * notebook
      
      * sparse_done
      
      * images
      
      * notebook
      
      * add_image_gif
      
      * with_Gif
      
      * add_contr_image
      
      * notebook
      
      * notebook
      
      * notebook
      
      * train_functions
      
      * notebook
      
      * min_retrieval_length
      
      * pandas_option
      
      * notebook
      
      * min_retrieval_length
      
      * notebook
      
      * notebook
      
      * eval_Retriever
      
      * notebook
      
      * images
      
      * notebook
      
      * add_example
      
      * add_example
      
      * notebook
      
      * fireworks
      
      * notebook
      
      * notebook
      
      * joe's notebook comments
      
      * app_update
      
      * notebook
      
      * notebook_link
      
      * captions
      
      * notebook
      
      * assing RetriBert model
      
      * add RetriBert to Auto
      
      * change AutoLMHead to AutoSeq2Seq
      
      * notebook downloads from hf models
      
      * style_black
      
      * style_black
      
      * app_update
      
      * app_update
      
      * fix_app_update
      
      * style
      
      * style
      
      * isort
      
      * Delete WikiELI5training.ipynb
      
      * Delete evaluate_eli5.py
      
      * Delete WikiELI5explore.ipynb
      
      * Delete ExploreWikiELI5Support.html
      
      * Delete explainlikeimfive.py
      
      * Delete wiki_snippets.py
      
      * children before parent
      
      * children before parent
      
      * style_black
      
      * style_black_only
      
      * isort
      
      * isort_new
      
      * Update src/transformers/modeling_retribert.py
      Co-authored-by: default avatarJulien Chaumond <chaumond@gmail.com>
      
      * typo fixes
      
      * app_without_asset
      
      * cleanup
      
      * Delete ELI5animation.gif
      
      * Delete ELI5contrastive.svg
      
      * Delete ELI5wiki_index.svg
      
      * Delete choco_bis.svg
      
      * Delete fireworks.gif
      
      * Delete huggingface_logo.jpg
      
      * Delete huggingface_logo.svg
      
      * Delete Long_Form_Question_Answering_with_ELI5_and_Wikipedia.ipynb
      
      * Delete eli5_app.py
      
      * Delete eli5_utils.py
      
      * readme
      
      * Update README.md
      
      * unused imports
      
      * moved_info
      
      * default_beam
      
      * ftuned model
      
      * disclaimer
      
      * Update src/transformers/modeling_retribert.py
      Co-authored-by: default avatarLysandre Debut <lysandre@huggingface.co>
      
      * black
      
      * add_doc
      
      * names
      
      * isort_Examples
      
      * isort_Examples
      
      * Add doc to index
      Co-authored-by: default avatarJulien Chaumond <chaumond@gmail.com>
      Co-authored-by: default avatarLysandre Debut <lysandre@huggingface.co>
      Co-authored-by: default avatarLysandre <lysandre.debut@reseau.eseo.fr>
      49c52025
    • Sam Shleifer's avatar
      c3e60749
    • Sylvain Gugger's avatar
      Convert hans to Trainer (#5025) · d5477baf
      Sylvain Gugger authored
      * Convert hans to Trainer
      
      * Tick box
      d5477baf
  2. 15 Jun, 2020 3 commits
  3. 13 Jun, 2020 1 commit
    • Sylvain Gugger's avatar
      Hans data (#4854) · 403d3098
      Sylvain Gugger authored
      * Update hans data to be able to use Trainer
      
      * Fixes
      
      * Deal with tokenizer that don't have token_ids
      
      * Clean up things
      
      * Simplify data use
      
      * Fix the input dict
      
      * Formatting + proper path in README
      403d3098
  4. 11 Jun, 2020 1 commit
  5. 10 Jun, 2020 1 commit
  6. 09 Jun, 2020 3 commits
  7. 08 Jun, 2020 1 commit
  8. 06 Jun, 2020 1 commit
  9. 05 Jun, 2020 2 commits
  10. 04 Jun, 2020 3 commits
  11. 02 Jun, 2020 4 commits
  12. 01 Jun, 2020 15 commits
  13. 27 May, 2020 2 commits
    • Patrick von Platen's avatar
      [Benchmark] Memory benchmark utils (#4198) · 96f57c9c
      Patrick von Platen authored
      
      
      * improve memory benchmarking
      
      * correct typo
      
      * fix current memory
      
      * check torch memory allocated
      
      * better pytorch function
      
      * add total cached gpu memory
      
      * add total gpu required
      
      * improve torch gpu usage
      
      * update memory usage
      
      * finalize memory tracing
      
      * save intermediate benchmark class
      
      * fix conflict
      
      * improve benchmark
      
      * improve benchmark
      
      * finalize
      
      * make style
      
      * improve benchmarking
      
      * correct typo
      
      * make train function more flexible
      
      * fix csv save
      
      * better repr of bytes
      
      * better print
      
      * fix __repr__ bug
      
      * finish plot script
      
      * rename plot file
      
      * delete csv and small improvements
      
      * fix in plot
      
      * fix in plot
      
      * correct usage of timeit
      
      * remove redundant line
      
      * remove redundant line
      
      * fix bug
      
      * add hf parser tests
      
      * add versioning and platform info
      
      * make style
      
      * add gpu information
      
      * ensure backward compatibility
      
      * finish adding all tests
      
      * Update src/transformers/benchmark/benchmark_args.py
      Co-authored-by: default avatarLysandre Debut <lysandre@huggingface.co>
      
      * Update src/transformers/benchmark/benchmark_args_utils.py
      Co-authored-by: default avatarLysandre Debut <lysandre@huggingface.co>
      
      * delete csv files
      
      * fix isort ordering
      
      * add out of memory handling
      
      * add better train memory handling
      Co-authored-by: default avatarLysandre Debut <lysandre@huggingface.co>
      96f57c9c
    • Lysandre Debut's avatar
      per_device instead of per_gpu/error thrown when argument unknown (#4618) · 6a176880
      Lysandre Debut authored
      
      
      * per_device instead of per_gpu/error thrown when argument unknown
      
      * [docs] Restore examples.md symlink
      
      * Correct absolute links so that symlink to the doc works correctly
      
      * Update src/transformers/hf_argparser.py
      Co-authored-by: default avatarJulien Chaumond <chaumond@gmail.com>
      
      * Warning + reorder
      
      * Docs
      
      * Style
      
      * not for squad
      Co-authored-by: default avatarJulien Chaumond <chaumond@gmail.com>
      6a176880