This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"object": "list", | |
"daily_costs": [ | |
{ | |
"timestamp": 1696118400.0, | |
"line_items": [ | |
{ | |
"name": "GPT-4", | |
"cost": 464.919 | |
}, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
d = {'a': 0, 'n': 0, 'v': 0, 's': 0, 'd': 0} | |
while True: | |
p = input("enter price(x for done, else input number as float): ") | |
if p == 'x': | |
print(d) | |
break | |
p = float(p) | |
people = input('Enter letters for people (no delim): ') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Good evening. Hi, I’m John Mulaney, nice to meet you. Jon Brion, ladies and gentlemen. Thank you for coming to see me at Radio City Music Hall. I love to play venues where if the guy that built the venue could see me on the stage, he would be a little bit bummed about it. Look at this. This is so much nicer than what I’m about to do. It’s really… It’s really tragic. What a historic and beautiful and deeply haunted building this is. I keep walking through cold spots being like, “I wonder who that used to be.” | |
I’ve never seen a ghost, by the way. I asked my mom if she’d ever seen a ghost. That’s where we’re at conversation-wise in our relationship as a mother and son, because I’m 35 and I don’t have any children to talk about and she doesn’t understand my career. So I was home for Christmas and we were just eating Triscuits in silence and I was staring at the floor and I was like, “Well, here goes nothing. ‘You ever seen a ghost?'” And my mom said, “Yes.” Which is the best answer. She said, “I never told you t |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import lm_dataformat as lmd | |
from glob import glob | |
import os | |
import json | |
import collections | |
from tqdm import tqdm | |
import re | |
from best_download import download_file | |
import fasttext |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import lm_dataformat as lmd | |
from glob import glob | |
import os | |
import json | |
import collections | |
from tqdm import tqdm | |
import re | |
from best_download import download_file | |
import fasttext |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
read -s -p "Enter password" PASS | |
sudo openconnect --no-dtls --interface=sslvpn -b https://anyc.vpn.gatech.edu << eof | |
gatech-2fa-Duo | |
athite3 | |
$PASS | |
push | |
eof |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"architectures": [ | |
"BertForSequenceClassification" | |
], | |
"attention_probs_dropout_prob": 0.1, | |
"bos_token_id": 0, | |
"do_sample": false, | |
"eos_token_ids": 0, | |
"finetuning_task": null, | |
"hidden_act": "gelu", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sys | |
import io | |
from pdfminer.converter import TextConverter | |
from pdfminer.pdfinterp import PDFPageInterpreter | |
from pdfminer.pdfinterp import PDFResourceManager | |
from pdfminer.pdfpage import PDFPage | |
from pdfminer.layout import LAParams | |
import fitz | |
import logging | |
import os |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def extract_text_new(file): | |
pdf=wi(filename="pdf/" + file,resolution=300) | |
pdfImg=pdf.convert('jpeg') | |
imgBlobs=[] | |
extracted_text=[] | |
for img in pdfImg.sequence: | |
page=wi(image=img) | |
imgBlobs.append(page.make_blob('jpeg')) | |
for imgBlob in imgBlobs: | |
im=Image.open(io.BytesIO(imgBlob)) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: emadetfdos | |
channels: | |
- defaults | |
dependencies: | |
- _libgcc_mutex=0.1=main | |
- _tflow_select=2.1.0=gpu | |
- absl-py=0.8.0=py36_0 | |
- asn1crypto=0.24.0=py36_0 | |
- astor=0.8.0=py36_0 | |
- attrs=19.3.0=py_0 |
NewerOlder