"examples/vscode:/vscode.git/clone" did not exist on "3c2692407dabf8ac35a9dcc3f15ef5f076206190"
  1. 17 Jun, 2024 4 commits
  2. 14 Jun, 2024 1 commit
  3. 12 Jun, 2024 1 commit
  4. 11 Jun, 2024 2 commits
  5. 10 Jun, 2024 3 commits
  6. 07 Jun, 2024 5 commits
  7. 06 Jun, 2024 3 commits
  8. 05 Jun, 2024 1 commit
  9. 04 Jun, 2024 1 commit
  10. 03 Jun, 2024 1 commit
    • Ahmed Moubtahij's avatar
      Token healing (#30081) · 39b2ff69
      Ahmed Moubtahij authored
      
      
      * token healing impl + trie with extensions
      
      * make fixup
      
      * prefix-robust space tokenization
      
      * examples readme and requirements
      
      * make fixup
      
      * allow input prompt and model
      
      * redundant defaults
      
      * Specialized Trie
      
      * make fixup
      
      * updated tests with new inherited Tree
      
      * input ids to auto device_map
      
      * rm unused import
      
      * Update src/transformers/generation/utils.py
      Co-authored-by: default avatarArthur <48595927+ArthurZucker@users.noreply.github.com>
      
      * naming convention
      
      * Revert "naming convention"
      
      This reverts commit dd39d9c5b7a969e2d8a8d2a8e54f121b82dc44f0.
      
      * naming convention
      
      * last -hopefully- changes
      
      ---------
      Co-authored-by: default avatarArthur <48595927+ArthurZucker@users.noreply.github.com>
      39b2ff69
  11. 31 May, 2024 2 commits
    • Arthur's avatar
      Diff converter v2 (#30868) · 96eb0628
      Arthur authored
      * current working example!
      
      * commit regex and result file
      
      * update
      
      * nit
      
      * push the conversion file
      
      * oups
      
      * roadmap and nits
      
      * attempt diffs for 3 files
      
      * persimmon
      
      * nit
      
      * add diff file that is the same as the modeling_llama.py
      
      * fix rope nits
      
      * updates
      
      * updates with converted versions
      
      * give some breathing space to the code
      
      * delete
      
      * update
      
      * update
      
      * push the actual result
      
      * update regex patterns
      
      * update regex patterns
      
      * fix some issues
      
      * fix some issues
      
      * fix some issues
      
      * updates
      
      * updates
      
      * updates
      
      * updates
      
      * updates
      
      * revert changes done to llama
      
      * updates
      
      * update gemma
      
      * updates
      
      * oups
      
      * current state
      
      * current state
      
      * update
      
      * ouiiii
      
      * nit
      
      * clear diffs
      
      * nit
      
      * fixup
      
      * update
      
      * doc 馃殌
      
      * 馃敟
      
      * for now use gemma
      
      * deal with comments
      
      * style
      
      * handle funtions
      
      * deal with assigns
      
      * todos
      
      * process inheritage
      
      * keep decorators?
      
      * 馃
      
      * deal with duplicates
      
      * fixup
      
      * correctly remove duplicate code
      
      * run ruff post script
      
      * ruff deals pretty well with imports, let's leave it to him
      
      * ah maybe not lol
      
      * for now remove all imports from child.
      
      * nit
      
      * conversion of llama
      
      * okay
      
      * convert starcoder2
      
      * synch with main
      
      * update llama diff
      
      * updates
      
      * https://docs.astral.sh/ruff/rules/redefined-while-unused/
      
       fixes the imports, bit needs later version of ruff
      
      * updates
      
      * okay actual state
      
      * non zero exit
      
      * update!
      
      * revert unrelated
      
      * remove other diff files
      
      * updates
      
      * cleanup
      
      * update
      
      * less diff!
      
      * stash
      
      * current updates
      
      * updates
      
      * No need for call
      
      * finished fining deps
      
      * update
      
      * current changes
      
      * current state
      
      * current state
      
      * new status
      
      * nit
      
      * finally
      
      * fixes
      
      * nits
      
      * order is now expected
      
      * use logger info instead of prints
      
      * fixup
      
      * up
      
      * nit
      
      * update
      
      * nits
      
      * update
      
      * correct merge
      
      * update
      
      * update
      
      * update
      
      * add warning
      
      * update caution message
      
      * update
      
      * better merging strategy
      
      * copy class statements :wink
      
      * fixups
      
      * nits
      
      * update
      
      * Apply suggestions from code review
      Co-authored-by: default avataramyeroberts <22614925+amyeroberts@users.noreply.github.com>
      
      * nits
      
      * smaller header
      
      * do cleanup some stuff
      
      * even simpler header?
      
      * fixup
      
      * updates
      
      * ruff
      
      * update examples
      
      * nit
      
      * TODO
      
      * state
      
      * OUUUUUUF
      
      * current state
      
      * nits
      
      * final state
      
      * add a readme
      
      * fixup
      
      * remove diff llama
      
      * fix
      
      * nit
      
      * dummy noy funny
      
      * ruff format tests src utils --check
      
      * everless diffs
      
      * less diffs and fix test
      
      * fixes
      
      * naming nit?
      
      * update converter and add supper example
      
      * nits
      
      * updated for function signatures
      
      * update
      
      * update
      
      * add converted dummies
      
      * autoformat
      
      * single target assign fix
      
      * fixup
      
      * fix some imports
      
      * fixes
      
      * don't push them
      
      * `# noqa: F841`
      
      ---------
      Co-authored-by: default avataramyeroberts <22614925+amyeroberts@users.noreply.github.com>
      96eb0628
    • Pavel Iakubovskii's avatar
      Instance segmentation examples (#31084) · cdc81311
      Pavel Iakubovskii authored
      
      
      * Initial setup
      
      * Metrics
      
      * Overfit on two batches
      
      * Train 40 epochs
      
      * Memory leak debugging
      
      * Trainer fine-tuning
      
      * Draft
      
      * Fixup
      
      * Trained end-to-end
      
      * Add requirements
      
      * Rewrite evaluator
      
      * nits
      
      * Add readme
      
      * Add instance-segmentation to the table
      
      * Support void masks
      
      * Remove sh
      
      * Update docs
      
      * Add pytorch test
      
      * Add accelerate test
      
      * Update examples/pytorch/instance-segmentation/README.md
      
      * Update examples/pytorch/instance-segmentation/run_instance_segmentation.py
      
      * Update examples/pytorch/instance-segmentation/run_instance_segmentation_no_trainer.py
      
      * Update examples/pytorch/instance-segmentation/run_instance_segmentation_no_trainer.py
      
      * Update examples/pytorch/instance-segmentation/run_instance_segmentation.py
      
      * Fix consistency oneformer
      
      * Fix imports
      
      * Fix imports sort
      
      * Apply suggestions from code review
      Co-authored-by: default avatarNielsRogge <48327001+NielsRogge@users.noreply.github.com>
      
      * Update examples/pytorch/instance-segmentation/run_instance_segmentation.py
      Co-authored-by: default avatarSangbum Daniel Choi <34004152+SangbumChoi@users.noreply.github.com>
      
      * Add resources to docs
      
      * Update examples/pytorch/instance-segmentation/README.md
      Co-authored-by: default avataramyeroberts <22614925+amyeroberts@users.noreply.github.com>
      
      * Update examples/pytorch/instance-segmentation/README.md
      Co-authored-by: default avataramyeroberts <22614925+amyeroberts@users.noreply.github.com>
      
      * Remove explicit model_type argument
      
      * Fix tests
      
      * Update readme
      
      * Note about other models
      
      ---------
      Co-authored-by: default avatarNielsRogge <48327001+NielsRogge@users.noreply.github.com>
      Co-authored-by: default avatarSangbum Daniel Choi <34004152+SangbumChoi@users.noreply.github.com>
      Co-authored-by: default avataramyeroberts <22614925+amyeroberts@users.noreply.github.com>
      cdc81311
  12. 23 May, 2024 1 commit
  13. 22 May, 2024 3 commits
  14. 21 May, 2024 2 commits
  15. 17 May, 2024 3 commits
  16. 10 May, 2024 1 commit
  17. 08 May, 2024 1 commit
    • Pavel Iakubovskii's avatar
      Add examples for detection models finetuning (#30422) · 998dbe06
      Pavel Iakubovskii authored
      
      
      * Training script for object detection
      
      * Evaluation script for object detection
      
      * Training script for object detection with eval loop outside trainer
      
      * Trainer DETR finetuning
      
      * No trainer DETR finetuning
      
      * Eval script
      
      * Refine object detection example with trainer
      
      * Remove commented code and enable telemetry
      
      * No trainer example
      
      * Add requirements for object detection examples
      
      * Add test for trainer example
      
      * Readme draft
      
      * Fix uploading to HUB
      
      * Readme improvements
      
      * Update eval script
      
      * Adding tests for object-detection examples
      
      * Add object-detection example
      
      * Add object-detection resources to docs
      
      * Update README with custom dataset instructions
      
      * Update year
      
      * Replace valid with validation
      
      * Update instructions for custom dataset
      
      * Remove eval script
      
      * Remove use_auth_token
      
      * Add copied from and telemetry
      
      * Fixup
      
      * Update readme
      
      * Fix id2label
      
      * Fix links in docs
      
      * Update examples/pytorch/object-detection/run_object_detection.py
      Co-authored-by: default avatarNielsRogge <48327001+NielsRogge@users.noreply.github.com>
      
      * Update examples/pytorch/object-detection/run_object_detection.py
      Co-authored-by: default avatarNielsRogge <48327001+NielsRogge@users.noreply.github.com>
      
      * Move description to the top
      
      * Fix Trainer example
      
      * Update no trainer example
      
      * Update albumentations version
      
      ---------
      Co-authored-by: default avatarNielsRogge <48327001+NielsRogge@users.noreply.github.com>
      998dbe06
  18. 07 May, 2024 5 commits