Comments (33)
110810508 曾智暐 到
from ai109b.
劉瑞姿 到
from ai109b.
林子淳 到
from ai109b.
翁瑋泓 到
from ai109b.
林子豪 到
from ai109b.
施侑儒 到
from ai109b.
張育騰 到
from ai109b.
李中佑 到
from ai109b.
110810534 柯泓吉 到
from ai109b.
110710521 吳婕安 到
from ai109b.
楊淞元 到
from ai109b.
110810532 汪建同 到
from ai109b.
吳宗倫 到
from ai109b.
110810547 董長茂 到
from ai109b.
吳博霖 到
from ai109b.
110710527王博緯到
from ai109b.
110710533 施泓宇 到
from ai109b.
110710520 鍾瑄 到
from ai109b.
110710544 陳詠鑫 到
from ai109b.
休息到 10:10
from ai109b.
@ccckmit 老師可以教LICENSE檔的撰寫嗎?
from ai109b.
@ccckmit 老師可以教LICENSE檔的撰寫嗎?
LICENSE 檔範例
# 授權聲明
本專案中的程式採用 [MIT 授權協議](https://opensource.org/licenses/MIT),文章和圖片部分衍生自維基百科,採用 [CC:BY-SA](https://zh.wikipedia.org/zh-hant/Wikipedia%3ACC_BY-SA_3.0%E5%8D%8F%E8%AE%AE%E6%96%87%E6%9C%AC) 授權
或者參考 我網站的授權聲明
from ai109b.
了解 謝謝老師!
from ai109b.
mac020:01-gensim mac020$ python3 pretrained.py
/usr/local/lib/python3.9/site-packages/gensim/similarities/__init__.py:15: UserWarning: The gensim.similarities.levenshtein submodule is disabled, because the optional Levenshtein package <https://pypi.org/project/python-Levenshtein/> is unavailable. Install Levenhstein (e.g. `pip install python-Levenshtein`) to suppress this warning.
warnings.warn(msg)
[==================================================] 100.0% 104.8/104.8MB downloaded
model.most_similar('twitter')=[('facebook', 0.948005199432373), ('tweet', 0.9403423070907593), ('fb', 0.9342358708381653), ('instagram', 0.9104822874069214), ('chat', 0.8964964747428894), ('hashtag', 0.8885937333106995), ('tweets', 0.8878158330917358), ('tl', 0.8778461217880249), ('link', 0.877821147441864), ('internet', 0.8753897547721863)]
model.most_similar('dog')=[('cat', 0.9590821266174316), ('dogs', 0.9244232177734375), ('horse', 0.9209403395652771), ('monkey', 0.9146843552589417), ('pig', 0.9116264581680298), ('kid', 0.902455747127533), ('puppy', 0.9024084210395813), ('bear', 0.9013873934745789), ('pet', 0.8971228003501892), ('dirty', 0.8893660306930542)]
model.most_similar('mother')=[('father', 0.9509677886962891), ('child', 0.937720537185669), ('daughter', 0.9361845254898071), ('friend', 0.9293223023414612), ('sister', 0.9281293153762817), ('wife', 0.9274637699127197), ('woman', 0.9214696884155273), ('girl', 0.9200195074081421), ('mom', 0.9165931344032288), ('dad', 0.9141177535057068)]
model.most_similar('king')=[('prince', 0.9337409734725952), ('queen', 0.920242190361023), ('aka', 0.9176921844482422), ('lady', 0.9163240790367126), ('jack', 0.9147354960441589), ("'s", 0.9066898822784424), ('stone', 0.8982374668121338), ('mr.', 0.8919409513473511), ('the', 0.889343798160553), ('star', 0.8892088532447815)]
model.most_similar('push')=[('carry', 0.9432511329650879), ('hold', 0.9204720258712769), ('step', 0.9168413281440735), ('handle', 0.9149768352508545), ('reach', 0.9070982336997986), ('take', 0.9024860262870789), ('able', 0.8978244066238403), ('moves', 0.8954479098320007), ('aim', 0.8929283618927002), ('pass', 0.8912724852561951)]
model.most_similar(positive=['woman', 'king'], negative=['man'])=[('meets', 0.8841924071311951), ('prince', 0.832163393497467), ('queen', 0.8257461190223694), ('’s', 0.8174097537994385), ('crow', 0.813499391078949), ('hunter', 0.8131037950515747), ('father', 0.8115834593772888), ('soldier', 0.81113600730896), ('mercy', 0.8082392811775208), ('hero', 0.8082264065742493)]
from ai109b.
from ai109b.
ac020:01-gensim mac020$ python3 viewTrained.py
/usr/local/lib/python3.9/site-packages/gensim/similarities/__init__.py:15: UserWarning: The gensim.similarities.levenshtein submodule is disabled, because the optional Levenshtein package <https://pypi.org/project/python-Levenshtein/> is unavailable. Install Levenhstein (e.g. `pip install python-Levenshtein`) to suppress this warning.
warnings.warn(msg)
2021-06-17 10:35:49.915 Python[27172:317035] ApplePersistenceIgnoreState: Existing state will not be touched. New state will be written to /var/folders/fc/784k2dvx3gvfq5h2p27vxb8m0000gn/T/org.python.python.savedState
from ai109b.
seq2seq model
from ai109b.
來源 https://github.com/junxiaosong/AlphaZero_Gomoku
from ai109b.
mac020:04-AlphaZero_Gomoku mac020$ python3 human_play.py
Player 1 with X
Player 2 with O
0 1 2 3 4 5 6 7
7 _ _ _ _ _ _ _ _
6 _ _ _ _ _ _ _ _
5 _ _ _ _ _ _ _ _
4 _ _ _ _ _ _ _ _
3 _ _ _ _ _ _ _ _
2 _ _ _ _ _ _ _ _
1 _ _ _ _ _ _ _ _
0 _ _ _ _ _ _ _ _
Player 1 with X
Player 2 with O
0 1 2 3 4 5 6 7
7 _ _ _ _ _ _ _ _
6 _ _ _ _ _ _ _ _
5 _ _ _ _ _ _ _ _
4 _ _ _ _ _ _ _ _
3 _ _ _ _ O _ _ _
2 _ _ _ _ _ _ _ _
1 _ _ _ _ _ _ _ _
0 _ _ _ _ _ _ _ _
Your move: 3,3
Player 1 with X
Player 2 with O
0 1 2 3 4 5 6 7
7 _ _ _ _ _ _ _ _
6 _ _ _ _ _ _ _ _
5 _ _ _ _ _ _ _ _
4 _ _ _ _ _ _ _ _
3 _ _ _ X O _ _ _
2 _ _ _ _ _ _ _ _
1 _ _ _ _ _ _ _ _
0 _ _ _ _ _ _ _ _
Player 1 with X
Player 2 with O
0 1 2 3 4 5 6 7
7 _ _ _ _ _ _ _ _
6 _ _ _ _ _ _ _ _
5 _ _ _ _ _ _ _ _
4 _ _ _ O _ _ _ _
3 _ _ _ X O _ _ _
2 _ _ _ _ _ _ _ _
1 _ _ _ _ _ _ _ _
0 _ _ _ _ _ _ _ _
Your move: 5,2
Player 1 with X
Player 2 with O
0 1 2 3 4 5 6 7
7 _ _ _ _ _ _ _ _
6 _ _ _ _ _ _ _ _
5 _ _ X _ _ _ _ _
4 _ _ _ O _ _ _ _
3 _ _ _ X O _ _ _
2 _ _ _ _ _ _ _ _
1 _ _ _ _ _ _ _ _
0 _ _ _ _ _ _ _ _
Player 1 with X
Player 2 with O
0 1 2 3 4 5 6 7
7 _ _ _ _ _ _ _ _
6 _ _ _ _ _ _ _ _
5 _ _ X _ _ _ _ _
4 _ _ _ O O _ _ _
3 _ _ _ X O _ _ _
2 _ _ _ _ _ _ _ _
1 _ _ _ _ _ _ _ _
0 _ _ _ _ _ _ _ _
Your move: 5,4
Player 1 with X
Player 2 with O
0 1 2 3 4 5 6 7
7 _ _ _ _ _ _ _ _
6 _ _ _ _ _ _ _ _
5 _ _ X _ X _ _ _
4 _ _ _ O O _ _ _
3 _ _ _ X O _ _ _
2 _ _ _ _ _ _ _ _
1 _ _ _ _ _ _ _ _
0 _ _ _ _ _ _ _ _
Player 1 with X
Player 2 with O
0 1 2 3 4 5 6 7
7 _ _ _ _ _ _ _ _
6 _ _ _ _ _ _ _ _
5 _ _ X _ X _ _ _
4 _ _ _ O O O _ _
3 _ _ _ X O _ _ _
2 _ _ _ _ _ _ _ _
1 _ _ _ _ _ _ _ _
0 _ _ _ _ _ _ _ _
Your move: 4,2
Player 1 with X
Player 2 with O
0 1 2 3 4 5 6 7
7 _ _ _ _ _ _ _ _
6 _ _ _ _ _ _ _ _
5 _ _ X _ X _ _ _
4 _ _ X O O O _ _
3 _ _ _ X O _ _ _
2 _ _ _ _ _ _ _ _
1 _ _ _ _ _ _ _ _
0 _ _ _ _ _ _ _ _
Player 1 with X
Player 2 with O
0 1 2 3 4 5 6 7
7 _ _ _ _ _ _ _ _
6 _ _ _ _ _ _ _ _
5 _ _ X _ X _ _ _
4 _ _ X O O O O _
3 _ _ _ X O _ _ _
2 _ _ _ _ _ _ _ _
1 _ _ _ _ _ _ _ _
0 _ _ _ _ _ _ _ _
Your move: 4,7
Player 1 with X
Player 2 with O
0 1 2 3 4 5 6 7
7 _ _ _ _ _ _ _ _
6 _ _ _ _ _ _ _ _
5 _ _ X _ X _ _ _
4 _ _ X O O O O X
3 _ _ _ X O _ _ _
2 _ _ _ _ _ _ _ _
1 _ _ _ _ _ _ _ _
0 _ _ _ _ _ _ _ _
Player 1 with X
Player 2 with O
0 1 2 3 4 5 6 7
7 _ _ _ _ _ _ _ _
6 _ _ _ _ _ _ _ _
5 _ _ X _ X _ _ _
4 _ _ X O O O O X
3 _ _ _ X O _ _ _
2 _ _ _ _ O _ _ _
1 _ _ _ _ _ _ _ _
0 _ _ _ _ _ _ _ _
Your move: 1,4
Player 1 with X
Player 2 with O
0 1 2 3 4 5 6 7
7 _ _ _ _ _ _ _ _
6 _ _ _ _ _ _ _ _
5 _ _ X _ X _ _ _
4 _ _ X O O O O X
3 _ _ _ X O _ _ _
2 _ _ _ _ O _ _ _
1 _ _ _ _ X _ _ _
0 _ _ _ _ _ _ _ _
Player 1 with X
Player 2 with O
0 1 2 3 4 5 6 7
7 _ _ _ _ _ _ _ _
6 _ _ _ _ _ _ _ _
5 _ _ X _ X _ _ _
4 _ _ X O O O O X
3 _ _ _ X O _ _ _
2 _ _ _ O O _ _ _
1 _ _ _ _ X _ _ _
0 _ _ _ _ _ _ _ _
Your move: 2,2
Player 1 with X
Player 2 with O
0 1 2 3 4 5 6 7
7 _ _ _ _ _ _ _ _
6 _ _ _ _ _ _ _ _
5 _ _ X _ X _ _ _
4 _ _ X O O O O X
3 _ _ _ X O _ _ _
2 _ _ X O O _ _ _
1 _ _ _ _ X _ _ _
0 _ _ _ _ _ _ _ _
Player 1 with X
Player 2 with O
0 1 2 3 4 5 6 7
7 _ _ _ _ _ _ _ _
6 _ _ _ _ _ _ _ _
5 _ _ X _ X _ _ _
4 _ _ X O O O O X
3 _ _ _ X O _ _ _
2 _ _ X O O _ _ _
1 _ _ O _ X _ _ _
0 _ _ _ _ _ _ _ _
Your move: 5,6
Player 1 with X
Player 2 with O
0 1 2 3 4 5 6 7
7 _ _ _ _ _ _ _ _
6 _ _ _ _ _ _ _ _
5 _ _ X _ X _ X _
4 _ _ X O O O O X
3 _ _ _ X O _ _ _
2 _ _ X O O _ _ _
1 _ _ O _ X _ _ _
0 _ _ _ _ _ _ _ _
Player 1 with X
Player 2 with O
0 1 2 3 4 5 6 7
7 _ _ _ _ _ _ _ _
6 _ _ _ _ _ _ _ _
5 _ _ X _ X _ X _
4 _ _ X O O O O X
3 _ _ _ X O _ _ _
2 _ _ X O O _ _ _
1 _ _ O _ X _ _ _
0 _ O _ _ _ _ _ _
Game end. Winner is MCTS 2
from ai109b.
休息到 11:10
from ai109b.
請上 Google Meet 參加 Q&A 時間!
重要:本次會提醒作業繳交需要注意的事項,沒有注意到這些會嚴重扣分。
https://meet.google.com/axr-biwh-uht
from ai109b.
https://noob.tw/open-source-licenses/
from ai109b.
https://www.itread01.com/content/1549750717.html
from ai109b.
Related Issues (12)
- 習題 1 : 請用爬山演算法或遺傳演算法破解維吉尼雅密碼 HOT 3
- 2021/6/10 人工智慧課程 -- 簽到與發問區 HOT 28
- 2021/6/24 人工智慧課程 -- 簽到與發問區 HOT 29
- 習題 2 : 請用搜尋法(深度優先)求解八個皇后問題。 HOT 16
- 習題 3 : 請寫程式列出 n 變數的所有真值表可能狀況 HOT 15
- 2021/5/13 人工智慧課程 -- 簽到與發問區 HOT 24
- 2021/5/20 人工智慧課程 -- 簽到與發問區 HOT 32
- 期中作業:課程筆記繳交區 HOT 30
- 期末作業:請寫一個人工智慧專案程式與報告 HOT 32
- 2021/5/27 人工智慧課程 -- 簽到與發問區 HOT 29
- 2021/6/3 人工智慧課程 -- 簽到與發問區 HOT 28
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ai109b.