diff --git a/config/_default/params.toml b/config/_default/params.toml index ba77fac..d11dfaa 100644 --- a/config/_default/params.toml +++ b/config/_default/params.toml @@ -1,10 +1,22 @@ logoText = "Haoxian's Lab" # Logo text that appears in the site navigation bar. description = "Haoxian's Lab - From NLP to MLOps and a little bit homelabbing." # for SEO -custom_css = [] # custom_css = ["scss/custom.scss"] and then make file at root/assets/scss/custom.scss -custom_js = [] # custom_js = ["js/custom.js"] and then make file at root/assets/js/custom.js - -themeOptions = ["light", "hacker", "solarized", "kimbie","dark"] # select options for site color theme -notAllowedTypesInHome = ["contact", "talks", "about"] # not allowed page types in home page. type can be set in front matter or default to folder name. +custom_css = [ +] # custom_css = ["scss/custom.scss"] and then make file at root/assets/scss/custom.scss +custom_js = [ +] # custom_js = ["js/custom.js"] and then make file at root/assets/js/custom.js + +themeOptions = [ + "light", + "hacker", + "solarized", + "kimbie", + "dark", +] # select options for site color theme +notAllowedTypesInHome = [ + "contact", + "talks", + "about", +] # not allowed page types in home page. type can be set in front matter or default to folder name. # header homeHeaderType = "text" # text, img, slide @@ -13,17 +25,17 @@ homeHeaderType = "text" # text, img, slide enableThemeChange = true # site color theme # body -enableBreadcrumb = true # breadcrumb for list, single page -enableSearch = true # site search with Fuse +enableBreadcrumb = true # breadcrumb for list, single page +enableSearch = true # site search with Fuse enableSearchHighlight = true # when true, search keyword will be highlighted -enableGoToTop = true # scroll to top -enableWhoami = true # at the end of single page -summaryShape = "classic" # card, classic, compact -archiveGroupByDate = "2006" # "2006-01": group by month, "2006": group by year -archivePaginate = 13 # items per page -paginateWindow = 1 # setting it to 1 gives 7 buttons, 2 gives 9, etc. If set 1: [1 ... 4 5 6 ... 356] [1 2 3 4 5 ... 356] etc -talksPaginate = 8 # items per page -talksGroupByDate = "2006" # "2006-01": group by month, "2006": group by year +enableGoToTop = true # scroll to top +enableWhoami = true # at the end of single page +summaryShape = "classic" # card, classic, compact +archiveGroupByDate = "2006" # "2006-01": group by month, "2006": group by year +archivePaginate = 13 # items per page +paginateWindow = 1 # setting it to 1 gives 7 buttons, 2 gives 9, etc. If set 1: [1 ... 4 5 6 ... 356] [1 2 3 4 5 ... 356] etc +talksPaginate = 8 # items per page +talksGroupByDate = "2006" # "2006-01": group by month, "2006": group by year # whoami: usage - home page sidebar, single page bottom of post. all values can be empty myname = "Haoxian WANG" @@ -32,110 +44,110 @@ whoami = "NLPer" useGravatar = false location = "Paris, France" organization = "" -link = "https://sharockys.github.io" +link = "https://www.haoxian.icu" # sidebar -enableBio = true # home page sidebar -enableSidebar = true # Set to false to create the full width of the content. -enableSidebarTags = true # if you want to use tags. +enableBio = true # home page sidebar +enableSidebar = true # Set to false to create the full width of the content. +enableSidebarTags = true # if you want to use tags. enableSidebarSeries = true enableSidebarCategories = true -enableToc = true # single page table of contents, you can replace this param to toc(toc = true) -hideToc = false # Hide or Show toc -enableTocSwitch = true # single page table of contents visibility switch -itemsPerCategory = 5 # maximum number of posts shown in the sidebar. +enableToc = true # single page table of contents, you can replace this param to toc(toc = true) +hideToc = false # Hide or Show toc +enableTocSwitch = true # single page table of contents visibility switch +itemsPerCategory = 5 # maximum number of posts shown in the sidebar. # footer -showPoweredBy = true # show footer text: Powered by Hugo and Zzo theme -showFeedLinks = true # RSS Feed -showSocialLinks = true # email, facebook, twitter ... +showPoweredBy = true # show footer text: Powered by Hugo and Zzo theme +showFeedLinks = true # RSS Feed +showSocialLinks = true # email, facebook, twitter ... enableLangChange = true # show button at bottom left of footer. # service -baiduAnalytics = "" # alternative of google analytics +baiduAnalytics = "" # alternative of google analytics enableBusuanzi = false # if set true, total page view, total unique visitors show up in the footer. -busuanziSiteUV = true # unique visitors (total number of visitors) -busuanziSitePV = true # site total page view count -busuanziPagePV = true # post view count +busuanziSiteUV = true # unique visitors (total number of visitors) +busuanziSitePV = true # site total page view count +busuanziPagePV = true # post view count # comment enableComment = true -disqus_shortname = "" +disqus_shortname = "" commento = false -[gitment] # Gitment is a comment system based on GitHub issues. see https://github.com/imsun/gitment - owner = "sharockys" # Your GitHub ID - repo = "" # The repo to store comments - clientId = "" # Your client ID - clientSecret = "" # Your client secret +[gitment] # Gitment is a comment system based on GitHub issues. see https://github.com/imsun/gitment +owner = "wang-haoxian" # Your GitHub ID +repo = "" # The repo to store comments +clientId = "" # Your client ID +clientSecret = "" # Your client secret -[utterances] # https://utteranc.es/ - owner = "" # Your GitHub ID - repo = "" # The repo to store comments +[utterances] # https://utteranc.es/ +owner = "" # Your GitHub ID +repo = "" # The repo to store comments -[gitalk] # Gitalk is a comment system based on GitHub issues. see https://github.com/gitalk/gitalk - owner = "" # Your GitHub ID - repo = "" # The repo to store comments - clientId = "" # Your client ID - clientSecret = "" # Your client secret +[gitalk] # Gitalk is a comment system based on GitHub issues. see https://github.com/gitalk/gitalk +owner = "" # Your GitHub ID +repo = "" # The repo to store comments +clientId = "" # Your client ID +clientSecret = "" # Your client secret # Valine. # You can get your appid and appkey from https://leancloud.cn # more info please open https://valine.js.org [valine] - enable = false - appId = '你的appId' - appKey = '你的appKey' - notify = false # mail notifier , https://github.com/xCss/Valine/wiki - verify = false # Verification code - avatar = 'mm' - placeholder = '说点什么吧...' - visitor = false +enable = false +appId = '你的appId' +appKey = '你的appKey' +notify = false # mail notifier , https://github.com/xCss/Valine/wiki +verify = false # Verification code +avatar = 'mm' +placeholder = '说点什么吧...' +visitor = false [changyan] - changyanAppid = "" # Changyan app id # 畅言 - changyanAppkey = "" # Changyan app key +changyanAppid = "" # Changyan app id # 畅言 +changyanAppkey = "" # Changyan app key [livere] - livereUID = "" # LiveRe UID # 来必力 +livereUID = "" # LiveRe UID # 来必力 # Isso: https://posativ.org/isso/ [isso] - enable = false - scriptSrc = "" # "https://isso.example.com/js/embed.min.js" - dataAttrs = "" # "data-isso='https://isso.example.com' data-isso-require-author='true'" +enable = false +scriptSrc = "" # "https://isso.example.com/js/embed.min.js" +dataAttrs = "" # "data-isso='https://isso.example.com' data-isso-require-author='true'" [socialOptions] # if set, social icons will show up. - email = "mailto:haoxian.w@outlook.com" - github = "https://github.com/sharockys" - stack-overflow = "" - instagram = "" - google-plus = "" - youtube = "" - medium = "" - tumblr = "" - linkedin = "" - pinterest = "" - stack-exchange = "" - telegram = "" - steam = "" - weibo = "" - douban = "" - csdn = "" - zhihu = "" - gitlab = "" - mastodon = "" - jianshu = "" - -[donationOptions] - enable = false # if set, the donation button will show up on the single page. - alipay = "" # Alipay QR Code image (example path: images/donation/alipay-qrcode.png) and put your file at root/static/images/donation/ - wechat = "" # Wechat pay QR Code image (example path: same as above) - paypal = "" # Paypal URL - patreon = "" # Patreon URL +email = "mailto:haoxian.w@outlook.com" +github = "https://github.com/wang-haoxian" +stack-overflow = "" +instagram = "" +google-plus = "" +youtube = "" +medium = "" +tumblr = "" +linkedin = "https://www.linkedin.com/in/wanghaoxian/" +pinterest = "" +stack-exchange = "" +telegram = "" +steam = "" +weibo = "" +douban = "" +csdn = "" +zhihu = "" +gitlab = "" +mastodon = "" +jianshu = "" + +[donationOptions] +enable = false # if set, the donation button will show up on the single page. +alipay = "" # Alipay QR Code image (example path: images/donation/alipay-qrcode.png) and put your file at root/static/images/donation/ +wechat = "" # Wechat pay QR Code image (example path: same as above) +paypal = "" # Paypal URL +patreon = "" # Patreon URL [copyrightOptions] - enableCopyrightLink = false # if set, you can add copyright link - copyrightLink = "" - copyrightLinkImage = "" - copyrightLinkText = "" \ No newline at end of file +enableCopyrightLink = false # if set, you can add copyright link +copyrightLink = "" +copyrightLinkImage = "" +copyrightLinkText = "" diff --git a/content/en/posts/terraform_whisper_aws_fargate/index.md b/content/en/posts/terraform_whisper_aws_fargate/index.md index 2d23472..784afed 100644 --- a/content/en/posts/terraform_whisper_aws_fargate/index.md +++ b/content/en/posts/terraform_whisper_aws_fargate/index.md @@ -20,7 +20,7 @@ tags: ## Introduction Whisper is a STT (Speech to Text) model developed by [OPENAI](https://openai.com/research/whisper). It's a powerful model that can convert human speech into text. Friend of mine encoutered this project as an job interview task with IaC using Terraform so I get the idea to do it on my own and I find it interesting to deploy it on AWS Fargate. I chose Fargate because of the highly optimized version of it doesn't require GPUs. In this post, I will share my journey to this final solution and show you how to deploy it. -All the code is available on [Github](https://github.com/sharockys/whisper-terraform-aws-Fargate) and you can use it to deploy the model on your own AWS account. +All the code is available on [Github](https://github.com/wang-haoxian/whisper-terraform-aws-Fargate) and you can use it to deploy the model on your own AWS account. ## Prerequisites - AWS CLI configured