Skip to content

Commit

Permalink
Remove debug
Browse files Browse the repository at this point in the history
  • Loading branch information
cmdevries authored Jan 22, 2024
1 parent beb7cef commit 263c691
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions markovify.py
Original file line number Diff line number Diff line change
Expand Up @@ -231,9 +231,6 @@ def process_mlx(urls):
all_text = re.sub('\s+', ' ', all_text)
all_text = re.sub(' \.', '.', all_text)
prompt = f'Summarize the following. {all_text}.'
print(f'{prompt=}')
print('')
print('')
from mlx_lm import load, generate
model, tokenizer = load('microsoft/phi-2')
response = generate(model, tokenizer, max_tokens=2048, prompt=all_text, \
Expand Down

0 comments on commit 263c691

Please sign in to comment.