gpted / app.py

Commit History

Snapshot
87af3eb

mebubo commited on

Snapshot
da342d0

mebubo commited on

Snapshot
f8b38c6

mebubo commited on

Snapshot
d3ef10a

mebubo commited on

Snapshot
b174bd4

mebubo commited on

Snapshot
6641473

mebubo commited on

Snapshot
230a441

mebubo commited on

Snapshot
426b33e

mebubo commited on

fix: Adjust call to generate_replacements to use token IDs for prefix_tokens
98f1760

mebubo commited on

feat: Update generate_replacements to accept prefix as token list
76e131a

mebubo commited on

fix: Include attention mask in model input and function parameters
b47d499

mebubo commited on

fix: Set attention mask in model inputs to avoid unexpected behavior
9029ade

mebubo commited on

chore: Add cell marker for Jupyter notebook compatibility
4ef971a

mebubo commited on

feat: Add tqdm for progress tracking and time measurement in loop
1f2d72c

mebubo commited on

feat: Add timing for the execution of the for loop in app.py
be53c78

mebubo commited on

feat: Add Jupyter notebook cell marker to app.py
a9cc853

mebubo commited on

style: Regroup import statements at the top of app.py
19904de

mebubo commited on

refactor: Update type hints to use Python 3.12 style in generate_replacements
15b7594

mebubo commited on

feat: Add type annotations to generate_replacements function
acbaa45

mebubo commited on

refactor: Improve efficiency of generate_replacements by reducing model calls
91515a1

mebubo commited on

refactor: Simplify main function by removing unnecessary indentation
ada166c

mebubo commited on

fix: Pass tokenizer to calculate_log_probabilities function to resolve error
c6407ad

mebubo commited on

refactor: Modularize code by creating functions for model loading and processing
8e36e52

mebubo commited on

feat: add filtering for low probability words based on log probability threshold
b2b409d

mebubo commited on

refactor: separate text processing logic into a new module for better organization
6735ae4

mebubo commited on

Init
91f2f92

mebubo commited on