寤鸿鏀惰棌锛佽秴妫掔殑AWS鏈哄櫒瀛︿範宸ュ叿鍖呮眹鎬?/h4>

2020-06-19 10:24:54  鏉ユ簮锛歴egmentfault

銆€銆€闅忕潃鎶€鏈拰鐢熸€佺殑涓嶆柇婕旇繘銆佸簲鐢ㄥ満鏅殑涓嶆柇鎺㈢储锛屾満鍣ㄥ涔犲凡鐒朵笉鍐嶄粎浠呭仠鐣欏湪瀹為獙瀹ゅ綋涓€傛棤璁烘槸鏃ユ柊鏈堝紓鐨勪簰鑱旂綉搴旂敤锛岃繕鏄眰鏂版眰鍙樼殑浼佷笟杞瀷锛屾満鍣ㄥ涔犻兘寰楀埌浜嗗箍娉涚殑搴旂敤锛岄€愭鎴愪负椹卞姩涓氬姟鐨勫叧閿妧鏈€?
 
銆€銆€鏈哄櫒瀛︿範鍦ㄨ繎 30 澶氬勾宸插彂灞曚负涓€闂ㄥ棰嗗煙浜ゅ弶瀛︾锛屼篃宸插箍娉涘簲鐢ㄤ簬鏁版嵁鎸栨帢銆佽绠楁満瑙嗚銆佽嚜鐒惰瑷€澶勭悊銆佺敓鐗╃壒寰佽瘑鍒€佹悳绱㈠紩鎿庛€佸尰瀛﹁瘖鏂€佹娴嬩俊鐢ㄥ崱娆鸿瘓銆佽瘉鍒稿競鍦哄垎鏋愩€丏NA 搴忓垪娴嬪簭銆佽闊冲拰鎵嬪啓璇嗗埆銆佹垬鐣ユ父鎴忓拰鏈哄櫒浜虹瓑棰嗗煙銆?/div>
 
銆€銆€涓轰簡甯姪澶у鏇翠究鎹风殑瑙e喅杩欎簺瀹為檯闂锛岃鏁版嵁绉戝瀹躲€佺畻娉曞伐绋嬪笀銆佷笟鍔″紑鍙戣€呴兘鑳借交鏉鹃┚椹満鍣ㄥ涔狅紝AWS 鎺ㄥ嚭浜嗗悇寮忓悇鏍风殑鏈哄櫒瀛︿範宸ュ叿锛屽寘鎷細ML 鏈嶅姟绫汇€丄PI 绫汇€丄I 鏈嶅姟宸ュ叿绫荤瓑銆?/div>
 
銆€銆€浠婂ぉ锛屾垜浠氨瀵?AWS 鐨勯儴鍒嗕紭绉€鏈哄櫒瀛︿範宸ュ叿鍋氫竴涓暣鐞嗭紝鍒嗕韩缁欏悇浣嶈涓氫粠涓氳€呫€?/div>
 
銆€銆€涓€. ML 鏈嶅姟绫绘満鍣ㄥ涔犲伐鍏?/strong>
 
銆€銆€1. Amazon SageMaker
 
銆€銆€Amazon SageMaker 鏄竴椤瑰畬鍏ㄦ墭绠$殑鏈嶅姟锛屽彲涓烘瘡浣嶅紑鍙戜汉鍛樺拰鏁版嵁绉戝瀹舵彁渚涘揩閫熸瀯寤恒€佽缁冨拰閮ㄧ讲鏈哄櫒瀛︿範 (ML) 妯″瀷鐨勮兘鍔涖€?/div>
 
銆€銆€寮€鍙戣€呭彲浠ュ湪涓€涓泦鎴愮殑鍙鐣岄潰涓紪鍐欎唬鐮併€佽窡韪疄楠屻€佸彲瑙嗗寲鏁版嵁浠ュ強杩涜璋冭瘯鍜岀洃鎺с€備粠瀹屾暣鐨勫钩鍙?IDE锛屽埌鍏蜂綋浠g爜涓?API锛孲ageMaker 閮芥湁涓€绉?Pythonic 绮剧锛岀畝娲佹槗鐢紝鍚屾椂鎻愪緵楂樼骇鐨勬帴鍙c€傛秷闄や簡鏈哄櫒瀛︿範杩囩▼涓殑姣忎釜姝ラ鐨勭箒閲嶅伐浣滐紝璁╁紑鍙戣€呰兘澶熸洿杞绘澗鍦板紑鍙戦珮璐ㄩ噺妯″瀷锛屾彁楂樺紑鍙戜汉鍛樼殑宸ヤ綔鏁堢巼銆?/div>
 
銆€銆€2020 骞?4 鏈堝簳锛孲ageMaker 鍦?AWS 涓浗鐨勫寳浜尯鍩熷拰瀹佸鍖哄煙涓婃寮忓紑鏀俱€傚氨鍦ㄥ墠涓嶄箙锛屽湪鍥藉唴寮€濮嬫寮忓紑鏀俱€傝繖鏍囧織鐫€ AWS 浜哄伐鏅鸿兘銆佹満鍣ㄥ涔犲钩鍙版湇鍔$殑鍏抽敭鎶€鏈凡鍏ㄩ潰杩涘叆涓浗銆?/div>
 
銆€銆€宸ュ叿浜偣锛?/div>
 
銆€銆€杩欐槸绗竴涓敤浜庢満鍣ㄥ涔犵殑瀹屽叏闆嗘垚寮忓紑鍙戠幆澧?(IDE)
 
銆€銆€鍗曚竴闆嗘垚鐨勫彲瑙嗙晫闈㈡搷浣滐紝澶у箙鎻愰珮寮€鍙戞晥鐜?/div>
 
銆€銆€鍙嚜鍔ㄦ瀯寤恒€佽缁冨拰璋冭瘯瀹屽叏鍙鍜屽彲鎺х殑妯″瀷
 
銆€銆€浣跨敤 Amazon SageMaker Ground Truth 灏嗘暟鎹爣璁版垚鏈檷浣庡杈?70%
 
銆€銆€浣跨敤 Amazon Elastic Inference 鍙皢鏈哄櫒瀛︿範鎺ㄧ悊鎴愭湰闄嶄綆澶氳揪 75锛?API 绫?/div>
 
銆€銆€浜? API 绫绘満鍣ㄥ涔犲伐鍏?/strong>
 
銆€銆€1. 鏂囨湰杞闊筹細Amazon Polly
 
銆€銆€Amazon Polly 鏄竴椤逛簯鏈嶅姟锛屽彲浠ュ皢鏂囨湰杞寲涓洪€肩湡鐨勮闊炽€傛敮鎸佸绉嶈瑷€锛屽苟鍖呭惈鍚勭閫肩湡鐨勫0闊筹紝鍥犳浣犲彲浠ユ瀯寤哄湪澶氫釜浣嶇疆宸ヤ綔鐨勬敮鎸佽闊崇殑搴旂敤绋嬪簭锛屽苟涓轰綘鐨勫鎴蜂娇鐢ㄧ悊鎯崇殑璇煶銆?/div>
 
銆€銆€姝ゅ锛孉mazon Polly 杩樺寘鍚澶氱缁忔枃鏈埌璇煶杞崲 (NTTS) 璇煶锛岄€氳繃鏂扮殑鏈哄櫒瀛︿範鏂规硶涓鸿闊宠川閲忓甫鏉ョ獊鐮存€х殑鏀硅繘锛屼粠鑰屼负瀹㈡埛鎻愪緵灏藉彲鑳芥渶鑷劧鐨勬枃鏈埌璇煶鐨勪技浜虹被鐨勮闊炽€傜缁?TTS 鎶€鏈繕鏀寔鎾煶鍛橀鏍硷紝涓撲负鏂伴椈鎾姤浣跨敤妗堜緥閲忚韩瀹氬埗銆?/div>
 
銆€銆€Amazon Polly 鐨勫父鐢ㄦ渚嬪寘鎷Щ鍔ㄥ簲鐢ㄧ▼搴忥紙濡傛柊闂婚槄璇诲櫒銆佹父鎴忋€佺數瀛愬涔犲钩鍙帮級銆佽闅滀汉澹緟鍔╁姛鑳藉簲鐢ㄧ▼搴忎互鍙婂揩閫熷闀跨殑鐗╄仈缃?(IoT) 缁嗗垎甯傚満銆侫lexa 璇煶鍔╂墜鐨勫搧鐗屽畾鍒惰闊虫湇鍔★紝灏辨槸閫氳繃 Amazon Polly 璇煶鍚堟垚骞冲彴鎻愪緵鐨勩€?/div>
 
銆€銆€宸ュ叿浜偣锛?/div>
 
銆€銆€楂樿川閲忥細鏂扮殑绁炵粡 TTS 鍜屼竴娴佺殑鏍囧噯 TTS 鎶€鏈紝鍙悎鎴愬彂闊崇簿搴︽瀬楂樼殑瓒呰嚜鐒惰闊筹紱
 
銆€銆€鏀寔澶氱璇█鍜岃闊筹細鏀寔鏁板崄绉嶈闊宠瑷€锛屽苟涓哄ぇ澶氭暟璇█鎻愪緵鐢锋€у拰濂虫€ц闊抽€夐」銆?/div>
 
銆€銆€缁忔祹瀹炴儬锛欰mazon Polly 閲囩敤鎸夐渶浠樿垂瀹氫环妯″紡锛屾瘡瀛楃杞崲鎴愭湰浣庡粔锛屽苟涓旀敮鎸佹棤闄愭閲嶆斁锛屼娇浼佷笟鑳藉浠ョ粡娴庨珮鏁堢殑鏂瑰紡涓哄簲鐢ㄧ▼搴忔坊鍔犺闊冲姛鑳姐€?/div>
 
銆€銆€2锛庤闊宠浆鏂囨湰锛欰mazon Transcribe
 
銆€銆€Amazon Transcribe 鏄竴椤硅嚜鍔ㄨ闊宠瘑鍒?(ASR) 鏈嶅姟锛岃寮€鍙戜汉鍛樿兘澶熻交鏉惧湴涓哄叾搴旂敤绋嬪簭娣诲姞璇煶杞枃鏈姛鑳姐€傞€氳繃浣跨敤 Amazon Transcribe API锛屽彲浠ュ垎鏋?Amazon S3 涓瓨鍌ㄧ殑闊抽鏂囦欢锛屽苟璁╄鏈嶅姟杩斿洖涓€涓浆褰曠殑璇煶鏂囨湰鏂囦欢銆傚紑鍙戜汉鍛樿繕鍙互灏嗗疄鏃堕煶棰戞祦鍙戦€佸埌 Amazon Transcribe锛屽苟瀹炴椂鎺ユ敹杞綍娴併€?/div>
 
銆€銆€Amazon Transcribe 鍙敤浜庡緢澶氬父瑙佸簲鐢ㄧ▼搴忥紝鍖呮嫭瀹㈡埛鏈嶅姟閫氳瘽杞綍锛屼互鍙婂熀浜庨煶棰戝拰瑙嗛鍐呭鐢熸垚瀛楀箷銆傝鏈嶅姟鍙互杞綍浠ュ父瑙佹牸寮忥紙渚嬪 WAV 鍜?MP3锛夊瓨鍌ㄧ殑闊抽鏂囦欢锛屽苟涓烘瘡涓瘝闄勫姞鏃堕棿鎴筹紝浠ヤ究寮€鍙戣€呭彲浠ラ€氳繃鎼滅储鏂囨湰杞绘澗鎵惧埌鍘熷婧愪腑鐨勯煶棰戙€?/div>
 
銆€銆€宸ュ叿浜偣锛?/div>
 
銆€銆€渚夸簬闃呰鐨勮浆褰曪細Amazon Transcribe 閲囩敤娣卞害瀛︿範鍔熻兘鑷姩娣诲姞鏍囩偣绗﹀彿鍜屾牸寮忥紝浠庤€屼娇杈撳嚭鍐呭鏇村鏄撶悊瑙o紝鏃犻渶杩涗竴姝ョ紪杈戝嵆鍙洿鎺ヤ娇鐢ㄣ€?/div>
 
銆€銆€鐢熸垚鏃堕棿鎴筹細Amazon Transcribe 浼氫负姣忎釜璇嶈繑鍥炴椂闂存埑锛屼互渚垮彲浠ラ€氳繃鎼滅储鏂囨湰杞绘澗鎵惧埌鍘熷褰曢煶涓殑闊抽銆?/div>
 
銆€銆€鑷畾涔夎瘝姹囪〃锛欰mazon Transcribe 鏀寔鎵╁睍鍜岃嚜瀹氫箟璇煶璇嗗埆璇嶆眹琛ㄣ€備娇鐢ㄨ€呭彲浠ュ皢鏂拌瘝娣诲姞鍒板熀鏈瘝姹囪〃涓紝骞剁敓鎴愪娇鐢ㄦ渚嬬壒瀹氱殑楂樺害鍑嗙‘鐨勮浆褰曪紝渚嬪浜у搧鍚嶇О銆佸煙鐗瑰畾鏈鎴栦釜浜哄鍚嶃€?/div>
 
銆€銆€璇嗗埆澶氫釜璁茶瘽鑰咃細Amazon Transcribe 鑳藉璇嗗埆鍑鸿璇濊€呯殑鍙樺寲锛屽苟鐩稿簲鍦扮‘瀹氳浆褰曟枃鏈殑褰掑睘銆傝繖鏍峰彲浠ユ樉钁楀噺灏戣浆褰曞叿鏈夊涓璇濊€呯殑闊抽锛堜緥濡傜數璇濄€佷細璁拰鐢佃鑺傜洰锛夋墍闇€鐨勫伐浣滈噺銆?/div>
 
銆€銆€3锛庝粠鏂囨。涓彁鍙栨枃鏈拰鏁版嵁锛欰mazon Textract
 
銆€銆€Amazon Textract 鏄竴椤逛粠鎵弿鐨勬枃妗d腑鑷姩鎻愬彇鏂囨湰鍜屾暟鎹殑鏈嶅姟銆侫mazon Textract 鐨勫姛鑳戒笉鍙槸绠€鍗曠殑鍏夊瀛楃璇嗗埆 (OCR)锛屽畠杩樺彲浠ヨ瘑鍒〃鍗曚腑瀛楁鐨勫唴瀹瑰拰琛ㄦ牸涓瓨鍌ㄧ殑淇℃伅銆?/div>
 
銆€銆€鍊熷姪 Textract锛屽紑鍙戜汉鍛樺彲浠ュ揩閫熻嚜鍔ㄦ墽琛屾枃妗e伐浣滄祦锛屾暟灏忔椂鍙鐞嗘暟鐧句竾涓枃妗i〉闈€傛澶栵紝寮€鍙戜汉鍛樿繕鍙互鍒涘缓鏅鸿兘鎼滅储绱㈠紩锛屾瀯寤鸿嚜鍔ㄦ壒鍑嗗伐浣滄祦锛屽苟閫氳繃鏍囪鍙兘闇€瑕佹牎璁㈢殑鏁版嵁锛屾洿濂藉湴淇濇寔瀵规枃妗e瓨妗h鍒欑殑绗﹀悎鎬с€?/div>
 
銆€銆€缁撳悎 Amazon Augmented AI (Amazon A2I) 鍚庯紝寮€鍙戜汉鍛樺彲浠ラ€氳繃鍐呯疆浜哄伐瀹℃牳鏉ョ鐞嗛渶瑕佷汉宸ュ垽鏂殑缁嗗井鎴栨晱鎰熷伐浣滄祦锛屼粠鑰屽彇寰楅珮纭俊搴︾殑棰勬祴鎴栧棰勬祴杩涜鎸佺画瀹¤銆?/div>
 
銆€銆€宸ュ叿浜偣锛?/div>
 
銆€銆€蹇€熷噯纭湴鎻愬彇鏁版嵁锛欰mazon Textract 鍙互鑷姩妫€娴嬫枃妗g殑甯冨眬鍜岄〉闈笂鐨勫叧閿厓绱狅紝浜嗚В浠讳綍宓屽叆寮忚〃鍗曟垨琛ㄦ牸涓殑鏁版嵁鍏崇郴锛屽苟鎻愬彇闄勫甫瀹屾暣涓婁笅鏂囩殑鎵€鏈夊唴瀹广€?/div>
 
銆€銆€鏃犻渶缁存姢浠g爜鎴栨ā鏉匡細鍊熷姪 Amazon Textract 棰勫厛缁忚繃璁粌鐨勬満鍣ㄥ涔犳ā鍨嬶紝鏃犻渶涓烘暟鎹彁鍙栫紪鍐欎唬鐮侊紝涓嶉渶瑕佷负鍙兘鏀跺埌鐨勬瘡涓枃妗f垨琛ㄥ崟缁存姢浠g爜锛屼篃涓嶅繀鎷呭績椤甸潰甯冨眬闅忕潃鏃堕棿鐨勬帹绉昏€屽彂鐢熷彉鍖栥€?/div>
 
銆€銆€鏇翠綆鐨勬枃妗e鐞嗘垚鏈細Amazon Textract 浠ラ潪甯镐綆鐨勬垚鏈彁渚?OCR 鍜岀粨鏋勫寲鏁版嵁鎻愬彇锛堣〃鍗曞拰琛ㄦ牸锛夛紝浣犲彧闇€鎸夌収瀹為檯浣跨敤閲忎粯璐癸紝鏃犻渶棰勫厛鎵胯鎴栭暱鏈熷悎鍚屻€?/div>
 
銆€銆€涓? AI 鏈嶅姟绫绘満鍣ㄥ涔犲伐鍏?/strong>
 
銆€銆€1. 浠g爜瀹℃煡宸ュ叿 —— Amazon CodeGuru
 
銆€銆€Amazon CodeGuru 鏄竴绉嶆満鍣ㄥ涔犳湇鍔★紝鍙嚜鍔ㄦ墽琛屼唬鐮佸鏌ワ紝骞舵彁渚涘簲鐢ㄧ▼搴忔€ц兘寤鸿銆傚畠鍙互甯姪寮€鍙戜汉鍛樻壘鍒板奖鍝嶅簲鐢ㄧ▼搴忔€ц兘鐨勪唬鐮佽锛屽苟鐗堜富杩涜闂鎺掓煡锛岀劧鍚庢彁渚涗慨澶嶆垨鏀硅繘浠g爜鐨勫叿浣撳缓璁€?/div>
 
銆€銆€CodeGuru 鐢辨満鍣ㄥ涔犮€佹渶浣冲疄璺典互鍙婄粡鍦ㄥ紑婧愰」鐩拰 Amazon 鍐呴儴鍒嗘瀽鏁扮櫨涓囬」浠g爜瀹℃煡鍜屾暟鍗冧釜搴旂敤绋嬪簭鍚庢€荤粨鍑烘潵鐨勭粡楠屾暀璁彁渚涙敮鎸併€?/div>
 
銆€銆€2. 蹇€熸瀯寤烘繁搴﹀涔犲簲鐢ㄧ▼搴?—— AWS Deep Learning AMI
 
銆€銆€AWS Deep Learning AMI (DLAMI) 鏄湪浜戜腑杩涜娣卞害瀛︿範鐨勪竴绔欏紡鍟嗗簵锛屽彲浠ヤ负鏈哄櫒瀛︿範浠庝笟浜哄憳鍜岀爺绌朵汉鍛樻彁渚涘熀纭€璁炬柦鍜屽悇绉嶅伐鍏凤紝浠庤€屽姞蹇湪浜戜腑杩涜浠绘剰瑙勬ā鐨勬繁搴﹀涔犵殑閫熷害銆?/div>
 
銆€銆€閫氳繃 DLAMI锛屽紑鍙戜汉鍛樺彲浠ュ揩閫熷惎鍔ㄩ鍏堝畨瑁呬簡甯歌娣卞害瀛︿範妗嗘灦鍜岀晫闈紙濡?TensorFlow銆丳yTorch銆丄pache MXNet銆丆hainer銆丟luon銆丠orovod 鍜?Keras锛夌殑 Amazon EC2 瀹炰緥鏉ヨ缁冨鏉傜殑鑷畾涔?AI 妯″瀷銆佽瘯楠屾柊绠楁硶鎴栧涔犳柊鎶€鑳藉拰鎶€宸с€?/div>
 
銆€銆€鏃犺闇€瑕?Amazon EC2 GPU 杩樻槸 CPU 瀹炰緥锛岄兘鏃犻渶涓?Deep Learning AMI 鏀粯棰濆璐圭敤銆傚彧闇€涓哄瓨鍌ㄥ拰杩愯搴旂敤绋嬪簭鎵€闇€鐨?AWS 璧勬簮浠樿垂銆?/div>
 
銆€銆€AWS Deep Learning AMI 鍙湪涓撲负鎺ㄧ悊璁捐鐨勫熀浜?Intel 鐨?Amazon EC2 C5 瀹炰緥涓婅繍琛屻€侫MI 棰勫畨瑁呬簡 NVIDIA CUDA 鍜?cuDNN 椹卞姩绋嬪簭锛屽彲浠ユ湁鏁堢缉鐭畬鎴愯绠楁墍闇€鐨勬椂闂淬€?/div>
 
銆€銆€涓轰簡绠€鍖栬蒋浠跺寘鐨勭鐞嗗拰閮ㄧ讲锛孉WS Deep Learning AMI 瀹夎浜?Anaconda2 鍜?Anaconda3 鏁版嵁绉戝骞冲彴锛屽彲浠ヨ繘琛屽ぇ瑙勬ā鏁版嵁澶勭悊銆侀娴嬪垎鏋愬拰绉戝璁$畻銆?/div>
 
銆€銆€宸ユ鍠勫叾浜嬪繀鍏堝埄鍏跺櫒锛屾兂瑕佽繘琛屾満鍣ㄥ涔犳柟闈㈢殑宸ヤ綔鐮旂┒锛岄厤鍚堜笂浼樼鐨勫伐鍏蜂竴瀹氬彲浠ヤ簨鍗婂姛鍊嶃€?/div>
绗笁鍗佸眾CIO鐝嫑鐢?/a>
娉曞浗甯冮浄鏂壒鍟嗗闄㈢澹彮鎷涚敓
鍖楄揪杞疎XIN缃戠粶绌洪棿涓嶪T瀹夊叏鍩虹璁よ瘉鍩硅
鍖楄揪杞疎XIN DevOps Professional璁よ瘉鍩硅
璐g紪锛歾hangwenwen