<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Martin&#39;s space</title>
    <link>https://martinspace.top/en/</link>
    <description>Recent content on Martin&#39;s space</description>
    <generator>Hugo</generator>
    <language>en</language>
    <lastBuildDate>Sun, 09 Feb 2025 10:39:49 +0000</lastBuildDate>
    <atom:link href="https://martinspace.top/en/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Preference Alignment on Diffusion Model: A Comprehensive Survey for Image Generation and Editing</title>
      <link>https://martinspace.top/en/post_en/tech_en/dmrl-survey/</link>
      <pubDate>Sun, 09 Feb 2025 10:39:49 +0000</pubDate>
      <guid>https://martinspace.top/en/post_en/tech_en/dmrl-survey/</guid>
      <description>&lt;p&gt;Welcome any citation! 🎉&lt;/p&gt;
&lt;embed src=&#34;https://martinspace.top/pdfs/RL_diffusion_model_survey.pdf&#34; type=&#34;application/pdf&#34; width=&#34;100%&#34; height=&#34;800px&#34; /&gt;</description>
    </item>
    <item>
      <title>Kattis Rank Climbing Notes</title>
      <link>https://martinspace.top/en/post_en/tech_en/kattis/</link>
      <pubDate>Sun, 05 Nov 2023 22:31:02 +0000</pubDate>
      <guid>https://martinspace.top/en/post_en/tech_en/kattis/</guid>
      <description>Take note for some learned algorithms</description>
    </item>
    <item>
      <title>Use of MapEntry in Java</title>
      <link>https://martinspace.top/en/post_en/tech_en/mapentry/</link>
      <pubDate>Sat, 04 Feb 2023 22:31:02 +0000</pubDate>
      <guid>https://martinspace.top/en/post_en/tech_en/mapentry/</guid>
      <description>&lt;p&gt;I met Map.Entry for many times when I was fighting with Leetcode. However, I did not understand it and it always confused me. I studied it today and write down to record it for myself.&lt;/p&gt;
&lt;p&gt;(:&lt;a href=&#34;https://docs.oracle.com/en/java/javase/15/docs/api/java.base/java/util/HashMap.html&#34;&gt;Click here for java documention&lt;/a&gt;:)&lt;/p&gt;
&lt;p&gt;Map.Entry is a internal interface of Map. It provides more convenient method for outputing key-value pair.&lt;/p&gt;
&lt;p&gt;How do we output key-value pair of a Map generally?&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;First, get all keys as a set&lt;/li&gt;
&lt;li&gt;Second, iterate to get every value according to keyset.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;If we have Map.Entry, we will get key and value at meantime.&lt;/strong&gt;&lt;/p&gt;</description>
    </item>
    <item>
      <title>Haskell</title>
      <link>https://martinspace.top/en/post_en/tech_en/haskell/</link>
      <pubDate>Fri, 20 Jan 2023 18:42:52 +0000</pubDate>
      <guid>https://martinspace.top/en/post_en/tech_en/haskell/</guid>
      <description>&lt;h1 id=&#34;stack&#34;&gt;Stack&lt;/h1&gt;
&lt;blockquote&gt;
&lt;p&gt;A modern, cross-platform build tool for Haskell code.&lt;/p&gt;
&lt;/blockquote&gt;</description>
    </item>
    <item>
      <title>Download APache Maven on MacOS</title>
      <link>https://martinspace.top/en/post_en/tech_en/maven/</link>
      <pubDate>Thu, 19 Jan 2023 00:15:03 +0000</pubDate>
      <guid>https://martinspace.top/en/post_en/tech_en/maven/</guid>
      <description>&lt;p&gt;I finally got maven installed, and the steps were generally easy, but I stepped in a few holes, I&amp;rsquo;ll record them.&lt;/p&gt;
&lt;h1 id=&#34;download-apache-maven&#34;&gt;Download APache Maven&lt;/h1&gt;
&lt;p&gt;Website📡: &lt;a href=&#34;https://maven.apache.org/download.cgi&#34;&gt;Apache-Maven&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Choose Binary zip archive and download it.&lt;/p&gt;
&lt;h1 id=&#34;unzip-the-zip-archive&#34;&gt;Unzip the zip archive&lt;/h1&gt;
&lt;p&gt;I unzip it into /Libaray on my computer.&lt;/p&gt;
&lt;h1 id=&#34;configuration&#34;&gt;Configuration&lt;/h1&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#e5e5e5;background-color:#000;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;vi .bash_profile
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Add 2 lines into this profile&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#e5e5e5;background-color:#000;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#fff;font-weight:bold&#34;&gt;export&lt;/span&gt; M2_HOME=/Library/apache-maven-3.8.7 // Or you can choose your own path and folder
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#fff;font-weight:bold&#34;&gt;export&lt;/span&gt; PATH=$PATH:$M2_HOME/bin
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Then, type &lt;code&gt;:wq&lt;/code&gt;, save and quit vim.&lt;/p&gt;</description>
    </item>
    <item>
      <title>📖 About me</title>
      <link>https://martinspace.top/en/about/</link>
      <pubDate>Wed, 07 Dec 2022 12:22:28 +0800</pubDate>
      <guid>https://martinspace.top/en/about/</guid>
      <description>&lt;ul&gt;
&lt;li&gt;🌊 An Underlying logic thinker &amp;amp; reflective practitioner&lt;/li&gt;
&lt;li&gt;🎓 Graduate from BSc Computer Science (Hons 1st Class) @ &lt;a href=&#34;https://twitter.com/LivUni&#34;&gt;University of Liverpool&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;📚 Studying MSc Artificial Intelligence @ &lt;a href=&#34;https://informatics.ed.ac.uk/&#34;&gt;University of Edinburgh&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;♍️ &amp;amp; ENTJ-A&lt;/li&gt;
&lt;li&gt;💭 Wish to change world.&lt;/li&gt;
&lt;/ul&gt;
&lt;h1 id=&#34;what-im-up-to-&#34;&gt;What I&amp;rsquo;m up to 🔝&lt;/h1&gt;
&lt;p&gt;🪜 I&amp;rsquo;m currently researching&amp;hellip;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Diffusion Model + Reinforcement Learning&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Uncertainty Quantification&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;details&gt;
&lt;summary&gt;Machine Learning System: Contribute to ServerlessLLM&lt;/summary&gt;
&lt;ul&gt;
&lt;li&gt;feat: support LoRA adapter(s) inference &lt;a href=&#34;https://github.com/ServerlessLLM/ServerlessLLM/pull/221&#34;&gt;#221&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;feat: support lora fine-tuning for transformers backend &lt;a href=&#34;https://github.com/ServerlessLLM/ServerlessLLM/pull/189&#34;&gt;#189&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;docs: add documentation for deployment on slurm &lt;a href=&#34;https://github.com/ServerlessLLM/ServerlessLLM/pull/135&#34;&gt;#135&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/details&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h1 id=&#34;my-past&#34;&gt;My Past&lt;/h1&gt;
&lt;details&gt;
&lt;summary&gt;N8 CIR Bede Summer Internship Programme 2024&lt;/summary&gt;
&lt;ul&gt;
&lt;li&gt;Project: Benchmarking various LLMs for Reading Biomedical Literatures&lt;/li&gt;
&lt;li&gt;Duration: 12 weeks (full time)&lt;/li&gt;
&lt;li&gt;Supervised by Dr Antony McCabe and Dr Jianping Meng&lt;/li&gt;
&lt;li&gt;Funded by EPSRC&lt;/li&gt;
&lt;/ul&gt;
&lt;/details&gt;
&lt;details&gt;
&lt;summary&gt;Mentor of OSPP(Open-Source Promotion Plan) 2024&lt;/summary&gt;
&lt;ul&gt;
&lt;li&gt;Project: Casibase (An Open-Source AI knowledge base)&lt;/li&gt;
&lt;li&gt;Duration: Jul, 2024 - Oct, 2024&lt;/li&gt;
&lt;/ul&gt;
&lt;/details&gt;
&lt;details&gt;
&lt;summary&gt; Contribute to an open-source project - Casibase &lt;/summary&gt;
&lt;ul&gt;
&lt;li&gt;feat: improve GetNearMessageCount() performance (2024-08-24) &lt;a href=&#34;https://github.com/casibase/casibase/pull/954&#34;&gt;#954&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;feat: fix the issue that DALL-E returned image URL is expired (2024-08-17) &lt;a href=&#34;https://github.com/casibase/casibase/pull/946&#34;&gt;#946&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;feat: support new model gpt-4o for openai and azure (2024-08-03) &lt;a href=&#34;https://github.com/casibase/casibase/pull/931&#34;&gt;#931&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;feat: count the number of generated images (2024-08-01) &lt;a href=&#34;https://github.com/casibase/casibase/pull/930&#34;&gt;#930&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;feat: support image output (2024-07-29) &lt;a href=&#34;https://github.com/casibase/casibase/pull/925&#34;&gt;#925&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;feat: fix bug that the first AI message cannot be regenerated (2024-07-25) &lt;a href=&#34;https://github.com/casibase/casibase/pull/917&#34;&gt;#917&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;feat: fix cursor blink incorrectly (2024-07-23) &lt;a href=&#34;https://github.com/casibase/casibase/pull/913&#34;&gt;#913&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;feat: set token count to 0 in usage map (2024-07-19) &lt;a href=&#34;https://github.com/casibase/casibase/pull/904&#34;&gt;#904&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;feat: fix ProvidersUsageTable render error when creating a new store (2024-07-18) &lt;a href=&#34;https://github.com/casibase/casibase/pull/903&#34;&gt;#903&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;feat: show providers usage in real time (2024-07-13) &lt;a href=&#34;https://github.com/casibase/casibase/pull/898&#34;&gt;#898&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;feat: feat: drag the image to the chat box to add attachment (2024-07-11) &lt;a href=&#34;https://github.com/casibase/casibase/pull/895&#34;&gt;#895&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;feat: allow deleting welcome message in demo mode (2024-07-06) &lt;a href=&#34;https://github.com/casibase/casibase/pull/885&#34;&gt;#885&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;feat: fix bug that sends empty message by mistake in newMessage mode (2024-07-05) &lt;a href=&#34;https://github.com/casibase/casibase/pull/882&#34;&gt;#882&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;feat: calculate tokens at last for local model provider (2024-07-01) &lt;a href=&#34;https://github.com/casibase/casibase/pull/878&#34;&gt;#878&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;feat: fix no encoding for model custom-model (2024-06-30) &lt;a href=&#34;https://github.com/casibase/casibase/pull/876&#34;&gt;#876&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;fix: incorrect message answer when anonymous access (2024-06-24) &lt;a href=&#34;https://github.com/casibase/casibase/pull/871&#34;&gt;#871&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;feat: support sending question via URL GET parameter (2024-06-23) &lt;a href=&#34;https://github.com/casibase/casibase/pull/865&#34;&gt;#865&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;feat: fix demo site fails bug in guest mode (2024-06-20) &lt;a href=&#34;https://github.com/casibase/casibase/pull/858&#34;&gt;#858&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;feat: fix bug that cannot access demo-site in guest mode (2024-06-19) &lt;a href=&#34;https://github.com/casibase/casibase/pull/854&#34;&gt;#854&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;feat: support URL link for each chat (2024-06-18) &lt;a href=&#34;https://github.com/casibase/casibase/pull/845&#34;&gt;#845&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;fix: the error box does not show at the first time (2024-06-17) &lt;a href=&#34;https://github.com/casibase/casibase/pull/840&#34;&gt;#840&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;feat: fix wrong blinking cursor in UI (2024-06-15) &lt;a href=&#34;https://github.com/casibase/casibase/pull/836&#34;&gt;#836&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;feat: don&amp;rsquo;t auto refresh answer for aborted connection error (2024-06-14) &lt;a href=&#34;https://github.com/casibase/casibase/pull/834&#34;&gt;#834&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;feat: support model usage map in GetAnswer() API (2024-06-07) &lt;a href=&#34;https://github.com/casibase/casibase/pull/828&#34;&gt;#828&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;feat: use model providers with higher token limit (2024-05-29) &lt;a href=&#34;https://github.com/casibase/casibase/pull/818&#34;&gt;#818&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;feat: use vision models for question with image (2024-05-16) &lt;a href=&#34;https://github.com/casibase/casibase/pull/811&#34;&gt;#811&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;feat: improve refresh bug fix (2024-05-15) &lt;a href=&#34;https://github.com/casibase/casibase/pull/810&#34;&gt;#810&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Bug: fix chat window error when pressing F5 during text output (2024-05-14) &lt;a href=&#34;https://github.com/casibase/casibase/pull/808&#34;&gt;#808&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;feat: support dummy model provider and dummy embedding provider (2024-05-01) &lt;a href=&#34;https://github.com/casibase/casibase/pull/798&#34;&gt;#798&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;feat: support uploading file (2024-04-27) &lt;a href=&#34;https://github.com/casibase/casibase/pull/795&#34;&gt;#795&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;feat: support model provider multiplexing (2024-04-21) &lt;a href=&#34;https://github.com/casibase/casibase/pull/783&#34;&gt;#783&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;feat: support claude3 model provider (2024-04-18) &lt;a href=&#34;https://github.com/casibase/casibase/pull/785&#34;&gt;#785&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;feat: add swagger docs (2024-04-04) &lt;a href=&#34;https://github.com/casibase/casibase/pull/781&#34;&gt;#781&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;feat: add new default split provider (2024-03-22) &lt;a href=&#34;https://github.com/casibase/casibase/pull/778&#34;&gt;#778&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;fix: improve messages render performance (2024-03-20) &lt;a href=&#34;https://github.com/casibase/casibase/pull/777&#34;&gt;#777&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;feat: support code block highlight (2024-03-19) &lt;a href=&#34;https://github.com/casibase/casibase/pull/776&#34;&gt;#776&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;feat: support Latex math formula (2024-03-18) &lt;a href=&#34;https://github.com/casibase/casibase/pull/775&#34;&gt;#775&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;feat: format markdown output better (2024-03-17) &lt;a href=&#34;https://github.com/casibase/casibase/pull/770&#34;&gt;#770&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;feat: disable New Chat button when there is empty chat (2024-03-16) &lt;a href=&#34;https://github.com/casibase/casibase/pull/773&#34;&gt;#773&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;feat: feat: improve upload path format for image storage (2024-03-08) &lt;a href=&#34;https://github.com/casibase/casibase/pull/758&#34;&gt;#758&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;feat: improve image display in input box (2024-03-06) &lt;a href=&#34;https://github.com/casibase/casibase/pull/754&#34;&gt;#754&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;feat: fix bug for local model provider (2024-03-04) &lt;a href=&#34;https://github.com/casibase/casibase/pull/750&#34;&gt;#750&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;feat: add GetPricing and calculatePrice for all embedding providers (2024-03-02) &lt;a href=&#34;https://github.com/casibase/casibase/pull/737&#34;&gt;#737&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;feat: add calculating tokens and price for embedding provider (2024-03-01) &lt;a href=&#34;https://github.com/casibase/casibase/pull/735&#34;&gt;735&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;fix: Bug that recognizes an ordinary url as an image (2024-02-29) &lt;a href=&#34;https://github.com/casibase/casibase/pull/730&#34;&gt;730&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;feat: improve azure text output (2024-02-28) &lt;a href=&#34;https://github.com/casibase/casibase/pull/729&#34;&gt;#729&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;feat: Support OpenAI embedding v3 as new Casibase embedding providers (2024-02-27) &lt;a href=&#34;https://github.com/casibase/casibase/pull/727&#34;&gt;#727&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;feat: support generating images via dalle-3 model (2024-02-20) &lt;a href=&#34;https://github.com/casibase/casibase/pull/717&#34;&gt;#717&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;feat: support sending images to gpt4vision model (2024-02-19) &lt;a href=&#34;https://github.com/casibase/casibase/pull/716&#34;&gt;#716&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;feat: fix reply display for huggingface (2024-01-28) &lt;a href=&#34;https://github.com/casibase/casibase/pull/705&#34;&gt;#705&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;feat: add Cohere Command model provider (2024-01-25) &lt;a href=&#34;https://github.com/casibase/casibase/pull/703&#34;&gt;#703&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://github.com/casibase/casibase/pull/724&#34;&gt;feat: Support chat bot widget (pending&amp;hellip;)&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://github.com/casibase/casibase/pull/718&#34;&gt;feat: support texts and images in the response at the same time (pending&amp;hellip;)&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/details&gt;
&lt;iframe src=&#34;https://gravel-carpenter-ef6.notion.site/ebd/15365853615d8081ae72e9a4976b2ca9&#34; width=&#34;100%&#34; height=&#34;800&#34; frameborder=&#34;0&#34; allowfullscreen /&gt;</description>
    </item>
  </channel>
</rss>
