ukairia777 / tensorflow-nlp-tutorial Goto Github PK
View Code? Open in Web Editor NEWtensorflow를 사용하여 텍스트 전처리부터, Topic Models, BERT, GPT, LLM과 같은 최신 모델의 다운스트림 태스크들을 정리한 Deep Learning NLP 저장소입니다.
tensorflow를 사용하여 텍스트 전처리부터, Topic Models, BERT, GPT, LLM과 같은 최신 모델의 다운스트림 태스크들을 정리한 Deep Learning NLP 저장소입니다.
내 파일 내용이 주제와 다른 거 같습니다.
또한, colab 경로도 다른 거 같습니다.
model = TFBertForSequenceClassification.from_pretrained("klue/bert-base", num_labels=2, from_pt=True)
loss =tf.keras.losses.SparseCategoricalCrossentropy(from_logits=True)
metric = tf.keras.metrics.SparseCategoricalAccuracy('accuracy')
model.compile(optimizer=optimizer, loss=loss, metrics=[metric])
glove 모듀을 사용하기 위해 라이브러리 설치 및 임포트 하려고 했는데,
pip install glove_python_binary 이 코드로 해도 실패하고,
pip install glove_python 만 입력해도 실패합니다.
혹시 해당 라이브러리를 설치하고 임포트 할 수 있는 방법이 있을까요?
안녕하세요!
작가님 덕분에 너무 유용하게 자료들 참고하며 학수하고 있습니다.
질문이 하나 있는데요.
18-3. kor_bert_nsmc_tpu
class TFBertForSequenceClassification(tf.keras.Model) 로 정의하여 학습시킨
model = TFBertForSequenceClassification("klue/bert-base")
model.fit(train_X, train_y, epochs=2, batch_size=64, validation_split=0.2)
results = model.evaluate(test_X, test_y, batch_size=1024)
의 'model'을 colab에서 google drive 내에 저장하는 방법을 여쭤봐도 될까요?
감사합니다! :)
안녕하십니까, 좋은 자료 공유 감사드립니다.
본 repo에 환경정보가 따로 정리되어 있지 않고, e-book에도 일부 패키지 정보만 공개되어 있는 것으로 보입니다
혹시 전체 코드 실행이 되는 환경의 requirements 및 yaml 정보도 commit해주실 수 있을까 싶어 issue 남깁니다
감사합니다
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.