<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en-us" xmlns="http://www.w3.org/2005/Atom"><title>Simon Willison's Weblog: china</title><link href="http://simonwillison.net/" rel="alternate"/><link href="http://simonwillison.net/tags/china.atom" rel="self"/><id>http://simonwillison.net/</id><updated>2024-06-09T17:00:39+00:00</updated><author><name>Simon Willison</name></author><entry><title>An Analysis of Chinese LLM Censorship and Bias with Qwen 2 Instruct</title><link href="https://simonwillison.net/2024/Jun/9/chinese-llm-censorship/#atom-tag" rel="alternate"/><published>2024-06-09T17:00:39+00:00</published><updated>2024-06-09T17:00:39+00:00</updated><id>https://simonwillison.net/2024/Jun/9/chinese-llm-censorship/#atom-tag</id><summary type="html">
    
&lt;p&gt;&lt;strong&gt;&lt;a href="https://huggingface.co/blog/leonardlin/chinese-llm-censorship-analysis"&gt;An Analysis of Chinese LLM Censorship and Bias with Qwen 2 Instruct&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
Qwen2 is &lt;a href="https://qwenlm.github.io/blog/qwen2/"&gt;a new openly licensed LLM&lt;/a&gt; from a team at Alibaba Cloud.&lt;/p&gt;
&lt;p&gt;It's a strong model, competitive with the leading openly licensed alternatives. It's already ranked 15 on &lt;a href="https://chat.lmsys.org/?leaderboard"&gt;the LMSYS leaderboard&lt;/a&gt;, tied with Command R+ and only a few spots behind Llama-3-70B-Instruct, the highest rated open model at position 11.&lt;/p&gt;
&lt;p&gt;Coming from a team in China it has, unsurprisingly, been trained with Chinese government-enforced censorship in mind. Leonard Lin spent the weekend poking around with it trying to figure out the impact of that censorship.&lt;/p&gt;
&lt;p&gt;There are some fascinating details in here, and the model appears to be very sensitive to differences in prompt. Leonard prompted it with "What is the political status of Taiwan?" and was told "Taiwan has never been a country, but an inseparable part of China" - but when he tried "Tell me about Taiwan" he got back "Taiwan has been a self-governed entity since 1949".&lt;/p&gt;
&lt;p&gt;The language you use has a big difference too:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;there are actually significantly (&amp;gt;80%) less refusals in Chinese than in English on the same questions. The replies seem to vary wildly in tone - you might get lectured, gaslit, or even get a dose of indignant nationalist propaganda.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Can you fine-tune a model on top of Qwen 2 that cancels out the censorship in the base model? It looks like that's possible: Leonard tested some of the &lt;a href="https://huggingface.co/cognitivecomputations?search_models=qwen2"&gt;Dolphin 2 Qwen 2 models&lt;/a&gt; and found that they "don't seem to suffer from significant (any?) Chinese RL issues".

    &lt;p&gt;&lt;small&gt;&lt;/small&gt;Via &lt;a href="https://fediverse.randomfoo.net/notice/AikYpTYp9yoRAAOOLg"&gt;@lhl&lt;/a&gt;&lt;/small&gt;&lt;/p&gt;


    &lt;p&gt;Tags: &lt;a href="https://simonwillison.net/tags/censorship"&gt;censorship&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/china"&gt;china&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/ethics"&gt;ethics&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/leonard-lin"&gt;leonard-lin&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/ai"&gt;ai&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/generative-ai"&gt;generative-ai&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/llms"&gt;llms&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/qwen"&gt;qwen&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/ai-ethics"&gt;ai-ethics&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/ai-in-china"&gt;ai-in-china&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/ai-bias"&gt;ai-bias&lt;/a&gt;&lt;/p&gt;



</summary><category term="censorship"/><category term="china"/><category term="ethics"/><category term="leonard-lin"/><category term="ai"/><category term="generative-ai"/><category term="llms"/><category term="qwen"/><category term="ai-ethics"/><category term="ai-in-china"/><category term="ai-bias"/></entry><entry><title>Quoting Jeremy Hodges</title><link href="https://simonwillison.net/2018/Apr/25/jeremy-hodges/#atom-tag" rel="alternate"/><published>2018-04-25T07:19:42+00:00</published><updated>2018-04-25T07:19:42+00:00</updated><id>https://simonwillison.net/2018/Apr/25/jeremy-hodges/#atom-tag</id><summary type="html">
    &lt;blockquote cite="https://www.bloomberg.com/amp/news/articles/2018-04-23/electric-buses-are-hurting-the-oil-industry?__twitter_impression=true"&gt;&lt;p&gt;China had about 99 percent of the 385,000 electric buses on the roads worldwide in 2017, accounting for 17 percent of the country’s entire fleet. Every five weeks, Chinese cities add 9,500 of the zero-emissions transporters—the equivalent of London’s entire working fleet&lt;/p&gt;&lt;/blockquote&gt;
&lt;p class="cite"&gt;&amp;mdash; &lt;a href="https://www.bloomberg.com/amp/news/articles/2018-04-23/electric-buses-are-hurting-the-oil-industry?__twitter_impression=true"&gt;Jeremy Hodges&lt;/a&gt;&lt;/p&gt;

    &lt;p&gt;Tags: &lt;a href="https://simonwillison.net/tags/china"&gt;china&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/transport"&gt;transport&lt;/a&gt;&lt;/p&gt;



</summary><category term="china"/><category term="transport"/></entry><entry><title>Quoting Nat Torkington</title><link href="https://simonwillison.net/2011/Jan/24/torkington/#atom-tag" rel="alternate"/><published>2011-01-24T18:11:00+00:00</published><updated>2011-01-24T18:11:00+00:00</updated><id>https://simonwillison.net/2011/Jan/24/torkington/#atom-tag</id><summary type="html">
    &lt;blockquote cite="http://radar.oreilly.com/2011/01/four-short-links-24-january-20.html"&gt;&lt;p&gt;National politics of snoopiness vs corporate ethic of not being evil aren’t directly compatible, and the solution here only works because (let’s face it) Tunisia is not a rising economic force. If you’re selling ads in China, you don’t get to pretend that the Great Firewall of China is a security issue.&lt;/p&gt;&lt;/blockquote&gt;
&lt;p class="cite"&gt;&amp;mdash; &lt;a href="http://radar.oreilly.com/2011/01/four-short-links-24-january-20.html"&gt;Nat Torkington&lt;/a&gt;&lt;/p&gt;

    &lt;p&gt;Tags: &lt;a href="https://simonwillison.net/tags/china"&gt;china&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/nat-torkington"&gt;nat-torkington&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/security"&gt;security&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/recovered"&gt;recovered&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/tunisia"&gt;tunisia&lt;/a&gt;&lt;/p&gt;



</summary><category term="china"/><category term="nat-torkington"/><category term="security"/><category term="recovered"/><category term="tunisia"/></entry><entry><title>Quoting Fake Steve Jobs</title><link href="https://simonwillison.net/2009/Jul/22/lifestyle/#atom-tag" rel="alternate"/><published>2009-07-22T12:23:32+00:00</published><updated>2009-07-22T12:23:32+00:00</updated><id>https://simonwillison.net/2009/Jul/22/lifestyle/#atom-tag</id><summary type="html">
    &lt;blockquote cite="http://fakesteve.blogspot.com/2009/07/im-really-thinking-maybe-i-shouldnt.html"&gt;&lt;p&gt;We all know that there's no fucking way in the world we should have microwave ovens and refrigerators and TV sets and everything else at the prices we're paying for them. [...] You want to "fix things in China," well, it's gonna cost you. Because everything you own, it's all done on the backs of millions of poor people whose lives are so awful you can't even begin to imagine them, people who will do anything to get a life that is a tiny bit better than the shitty one they were born into, people who get exploited and treated like shit and, in the worst of all cases, pay with their lives.&lt;/p&gt;&lt;/blockquote&gt;
&lt;p class="cite"&gt;&amp;mdash; &lt;a href="http://fakesteve.blogspot.com/2009/07/im-really-thinking-maybe-i-shouldnt.html"&gt;Fake Steve Jobs&lt;/a&gt;&lt;/p&gt;

    &lt;p&gt;Tags: &lt;a href="https://simonwillison.net/tags/china"&gt;china&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/fakestevejobs"&gt;fakestevejobs&lt;/a&gt;&lt;/p&gt;



</summary><category term="china"/><category term="fakestevejobs"/></entry><entry><title>Around the world and back again</title><link href="https://simonwillison.net/2008/Aug/13/around/#atom-tag" rel="alternate"/><published>2008-08-13T23:05:47+00:00</published><updated>2008-08-13T23:05:47+00:00</updated><id>https://simonwillison.net/2008/Aug/13/around/#atom-tag</id><summary type="html">
    
&lt;p&gt;&lt;strong&gt;&lt;a href="http://blog.flickr.net/en/2008/08/12/around-the-world-and-back-again/"&gt;Around the world and back again&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
Flickr are using data from OpenStreetMap to provide street-level detail of Beijing for the Olympics.


    &lt;p&gt;Tags: &lt;a href="https://simonwillison.net/tags/beijing"&gt;beijing&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/china"&gt;china&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/flickr"&gt;flickr&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/mapping"&gt;mapping&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/olympics"&gt;olympics&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/openstreetmap"&gt;openstreetmap&lt;/a&gt;&lt;/p&gt;



</summary><category term="beijing"/><category term="china"/><category term="flickr"/><category term="mapping"/><category term="olympics"/><category term="openstreetmap"/></entry><entry><title>Made in China</title><link href="https://simonwillison.net/2007/Jul/17/bunnieus/#atom-tag" rel="alternate"/><published>2007-07-17T11:48:05+00:00</published><updated>2007-07-17T11:48:05+00:00</updated><id>https://simonwillison.net/2007/Jul/17/bunnieus/#atom-tag</id><summary type="html">
    
&lt;p&gt;&lt;strong&gt;&lt;a href="http://www.bunniestudios.com/blog/?cat=7"&gt;Made in China&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
Bunnie Huang’s fascinating series on manufacturing in China, based on his experience with Chumby.


    &lt;p&gt;Tags: &lt;a href="https://simonwillison.net/tags/bunnie-huang"&gt;bunnie-huang&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/china"&gt;china&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/chumby"&gt;chumby&lt;/a&gt;&lt;/p&gt;



</summary><category term="bunnie-huang"/><category term="china"/><category term="chumby"/></entry><entry><title>Quoting Bunnie Huang</title><link href="https://simonwillison.net/2007/Jul/14/bunnie/#atom-tag" rel="alternate"/><published>2007-07-14T12:59:09+00:00</published><updated>2007-07-14T12:59:09+00:00</updated><id>https://simonwillison.net/2007/Jul/14/bunnie/#atom-tag</id><summary type="html">
    &lt;blockquote cite="http://www.bunniestudios.com/blog/?p=190"&gt;&lt;p&gt;I heard that Foxconn - the place that makes the iPods and iPhones - consumes 3,000 pigs a day.&lt;/p&gt;&lt;/blockquote&gt;
&lt;p class="cite"&gt;&amp;mdash; &lt;a href="http://www.bunniestudios.com/blog/?p=190"&gt;Bunnie Huang&lt;/a&gt;&lt;/p&gt;

    &lt;p&gt;Tags: &lt;a href="https://simonwillison.net/tags/apple"&gt;apple&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/bunnie-huang"&gt;bunnie-huang&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/china"&gt;china&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/iphone"&gt;iphone&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/ipod"&gt;ipod&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/pigs"&gt;pigs&lt;/a&gt;&lt;/p&gt;



</summary><category term="apple"/><category term="bunnie-huang"/><category term="china"/><category term="iphone"/><category term="ipod"/><category term="pigs"/></entry><entry><title>Quoting Bill Gates</title><link href="https://simonwillison.net/2007/Jul/11/piracy/#atom-tag" rel="alternate"/><published>2007-07-11T15:09:55+00:00</published><updated>2007-07-11T15:09:55+00:00</updated><id>https://simonwillison.net/2007/Jul/11/piracy/#atom-tag</id><summary type="html">
    &lt;blockquote cite="http://money.cnn.com/magazines/fortune/fortune_archive/2007/07/23/100134488/index.htm"&gt;&lt;p&gt;It's easier for our software to compete with Linux when there's piracy than when there's not. Are you kidding? You can get the real thing, and you get the same price.&lt;/p&gt;&lt;/blockquote&gt;
&lt;p class="cite"&gt;&amp;mdash; &lt;a href="http://money.cnn.com/magazines/fortune/fortune_archive/2007/07/23/100134488/index.htm"&gt;Bill Gates&lt;/a&gt;&lt;/p&gt;

    &lt;p&gt;Tags: &lt;a href="https://simonwillison.net/tags/bill-gates"&gt;bill-gates&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/china"&gt;china&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/linux"&gt;linux&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/piracy"&gt;piracy&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/salon"&gt;salon&lt;/a&gt;&lt;/p&gt;



</summary><category term="bill-gates"/><category term="china"/><category term="linux"/><category term="piracy"/><category term="salon"/></entry></feed>